diff options
author | Tim Taubert <tim@timtaubert.de> | 2014-10-12 19:06:56 +0200 |
---|---|---|
committer | Tim Taubert <tim@timtaubert.de> | 2014-10-13 11:13:12 +0200 |
commit | acd98a73a4ea1aad96705c49ab960d9c87a38a28 (patch) | |
tree | 1570653d9cd8169214a2cded8311d70c04a6538d /components/script/dom/mouseevent.rs | |
parent | 5b720879442ed4f05f0e2af25103e8e4e0a9ecef (diff) | |
download | servo-acd98a73a4ea1aad96705c49ab960d9c87a38a28.tar.gz servo-acd98a73a4ea1aad96705c49ab960d9c87a38a28.zip |
Simple privatizations
Diffstat (limited to 'components/script/dom/mouseevent.rs')
-rw-r--r-- | components/script/dom/mouseevent.rs | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/components/script/dom/mouseevent.rs b/components/script/dom/mouseevent.rs index 9560af42f53..1eb18d4281f 100644 --- a/components/script/dom/mouseevent.rs +++ b/components/script/dom/mouseevent.rs @@ -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 { |