mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
parent
e977a6e69a
commit
d1186eda7a
5 changed files with 16 additions and 14 deletions
|
@ -147,6 +147,15 @@ pub enum ConstellationControlMsg {
|
|||
ReportCSSError(PipelineId, String, u32, u32, String),
|
||||
}
|
||||
|
||||
/// Used to determine if a script has any pending asynchronous activity.
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Deserialize, Serialize)]
|
||||
pub enum DocumentState {
|
||||
/// The document has been loaded and is idle.
|
||||
Idle,
|
||||
/// The document is either loading or waiting on an event.
|
||||
Pending,
|
||||
}
|
||||
|
||||
/// The type of input represented by a multi-touch event.
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Serialize)]
|
||||
pub enum TouchEventType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue