mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +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 {
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use DocumentState;
|
||||
use IFrameLoadInfo;
|
||||
use MouseEventType;
|
||||
use canvas_traits::CanvasMsg;
|
||||
use euclid::point::Point2D;
|
||||
use euclid::size::Size2D;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use msg::constellation_msg::{AnimationState, DocumentState, NavigationDirection};
|
||||
use msg::constellation_msg::{AnimationState, NavigationDirection};
|
||||
use msg::constellation_msg::{Failure, MozBrowserEvent, PipelineId};
|
||||
use msg::constellation_msg::{LoadData, MouseButton, SubpageId};
|
||||
use offscreen_gl_context::GLContextAttributes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue