Use JSTraceable everywhere

This commit is contained in:
Manish Goregaokar 2014-09-24 03:01:03 +05:30
parent 85f79290a6
commit cc44a3b064
133 changed files with 325 additions and 278 deletions

View file

@ -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,