mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Decouple compositing and script crates.
This commit is contained in:
parent
8b3c9f6401
commit
015b07f1e0
17 changed files with 416 additions and 200 deletions
|
@ -10,23 +10,11 @@ use dom::bindings::js::{JS, JSRef, Temporary};
|
|||
use dom::bindings::trace::Traceable;
|
||||
use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};
|
||||
use dom::eventtarget::EventTarget;
|
||||
use servo_msg::constellation_msg::WindowSizeData;
|
||||
use servo_util::str::DOMString;
|
||||
use std::cell::{Cell, RefCell};
|
||||
|
||||
use geom::point::Point2D;
|
||||
|
||||
use time;
|
||||
|
||||
pub enum Event_ {
|
||||
ResizeEvent(WindowSizeData),
|
||||
ReflowEvent,
|
||||
ClickEvent(uint, Point2D<f32>),
|
||||
MouseDownEvent(uint, Point2D<f32>),
|
||||
MouseUpEvent(uint, Point2D<f32>),
|
||||
MouseMoveEvent(Point2D<f32>)
|
||||
}
|
||||
|
||||
#[deriving(Encodable)]
|
||||
pub enum EventPhase {
|
||||
PhaseNone = EventConstants::NONE as int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue