mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -40,20 +40,20 @@ pub enum EventTypeId {
|
|||
|
||||
#[deriving(Encodable)]
|
||||
pub struct Event {
|
||||
type_id: EventTypeId,
|
||||
reflector_: Reflector,
|
||||
current_target: Option<JS<EventTarget>>,
|
||||
target: Option<JS<EventTarget>>,
|
||||
type_: DOMString,
|
||||
phase: EventPhase,
|
||||
canceled: bool,
|
||||
stop_propagation: bool,
|
||||
stop_immediate: bool,
|
||||
cancelable: bool,
|
||||
bubbles: bool,
|
||||
trusted: bool,
|
||||
dispatching: bool,
|
||||
initialized: bool,
|
||||
pub type_id: EventTypeId,
|
||||
pub reflector_: Reflector,
|
||||
pub current_target: Option<JS<EventTarget>>,
|
||||
pub target: Option<JS<EventTarget>>,
|
||||
pub type_: DOMString,
|
||||
pub phase: EventPhase,
|
||||
pub canceled: bool,
|
||||
pub stop_propagation: bool,
|
||||
pub stop_immediate: bool,
|
||||
pub cancelable: bool,
|
||||
pub bubbles: bool,
|
||||
pub trusted: bool,
|
||||
pub dispatching: bool,
|
||||
pub initialized: bool,
|
||||
}
|
||||
|
||||
impl Event {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue