mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
This batch of changes upgrades Servo to work with the Rust upgrade as of
April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
This commit is contained in:
parent
4942cc76bd
commit
948daf2422
226 changed files with 1478 additions and 1407 deletions
|
@ -15,17 +15,17 @@ use servo_util::str::DOMString;
|
|||
|
||||
#[deriving(Encodable)]
|
||||
pub struct MouseEvent {
|
||||
mouseevent: UIEvent,
|
||||
screen_x: i32,
|
||||
screen_y: i32,
|
||||
client_x: i32,
|
||||
client_y: i32,
|
||||
ctrl_key: bool,
|
||||
shift_key: bool,
|
||||
alt_key: bool,
|
||||
meta_key: bool,
|
||||
button: u16,
|
||||
related_target: Option<JS<EventTarget>>
|
||||
pub mouseevent: UIEvent,
|
||||
pub screen_x: i32,
|
||||
pub screen_y: i32,
|
||||
pub client_x: i32,
|
||||
pub client_y: i32,
|
||||
pub ctrl_key: bool,
|
||||
pub shift_key: bool,
|
||||
pub alt_key: bool,
|
||||
pub meta_key: bool,
|
||||
pub button: u16,
|
||||
pub related_target: Option<JS<EventTarget>>
|
||||
}
|
||||
|
||||
impl MouseEventDerived for Event {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue