Basic hit testing functionality

This commit is contained in:
Patrick Walton 2013-05-30 17:28:08 -07:00
parent ea1a406589
commit f77eef5988
8 changed files with 148 additions and 20 deletions

View file

@ -7,9 +7,12 @@ use dom::window::Window;
use dom::bindings::codegen::EventBinding;
use dom::bindings::utils::{DOMString, ErrorResult, WrapperCache};
use geom::point::Point2D;
pub enum Event {
ResizeEvent(uint, uint, comm::Chan<()>),
ReflowEvent
ReflowEvent,
ClickEvent(Point2D<f32>),
}
pub struct Event_ {