mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Use JSTraceable everywhere
This commit is contained in:
parent
85f79290a6
commit
cc44a3b064
133 changed files with 325 additions and 278 deletions
|
@ -15,7 +15,7 @@ use std::cell::{Cell, RefCell};
|
|||
|
||||
use time;
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
pub enum EventPhase {
|
||||
PhaseNone = EventConstants::NONE as int,
|
||||
PhaseCapturing = EventConstants::CAPTURING_PHASE as int,
|
||||
|
@ -23,7 +23,8 @@ pub enum EventPhase {
|
|||
PhaseBubbling = EventConstants::BUBBLING_PHASE as int,
|
||||
}
|
||||
|
||||
#[deriving(PartialEq, Encodable)]
|
||||
#[deriving(PartialEq)]
|
||||
#[jstraceable]
|
||||
pub enum EventTypeId {
|
||||
CustomEventTypeId,
|
||||
HTMLEventTypeId,
|
||||
|
@ -34,7 +35,7 @@ pub enum EventTypeId {
|
|||
UIEventTypeId
|
||||
}
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
pub struct Event {
|
||||
pub type_id: EventTypeId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue