Simple privatizations

This commit is contained in:
Tim Taubert 2014-10-12 19:06:56 +02:00
parent 5b72087944
commit acd98a73a4
36 changed files with 59 additions and 22 deletions

View file

@ -21,18 +21,19 @@ use std::default::Default;
#[jstraceable]
#[must_root]
#[privatize]
pub struct MouseEvent {
pub mouseevent: UIEvent,
pub screen_x: Cell<i32>,
pub screen_y: Cell<i32>,
pub client_x: Cell<i32>,
pub client_y: Cell<i32>,
pub ctrl_key: Cell<bool>,
pub shift_key: Cell<bool>,
pub alt_key: Cell<bool>,
pub meta_key: Cell<bool>,
pub button: Cell<i16>,
pub related_target: MutNullableJS<EventTarget>
mouseevent: UIEvent,
screen_x: Cell<i32>,
screen_y: Cell<i32>,
client_x: Cell<i32>,
client_y: Cell<i32>,
ctrl_key: Cell<bool>,
shift_key: Cell<bool>,
alt_key: Cell<bool>,
meta_key: Cell<bool>,
button: Cell<i16>,
related_target: MutNullableJS<EventTarget>
}
impl MouseEventDerived for Event {