mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Simple privatizations
This commit is contained in:
parent
5b72087944
commit
acd98a73a4
36 changed files with 59 additions and 22 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue