mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Basic hit testing functionality
This commit is contained in:
parent
ea1a406589
commit
f77eef5988
8 changed files with 148 additions and 20 deletions
|
@ -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_ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue