aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/event.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-05-09 02:38:02 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-05-24 02:51:22 +0530
commit4c997e8934230acabff9f3ed405cf6e15dca7f76 (patch)
tree916caf3a60ca5322bd6a0af625b8ced8f5716ecc /src/components/script/dom/event.rs
parentc753f3ee05a25b2bb756c3b0c3131eac7ad58f1a (diff)
downloadservo-4c997e8934230acabff9f3ed405cf6e15dca7f76.tar.gz
servo-4c997e8934230acabff9f3ed405cf6e15dca7f76.zip
Implement CustomEvent (#2173)
Diffstat (limited to 'src/components/script/dom/event.rs')
-rw-r--r--src/components/script/dom/event.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/script/dom/event.rs b/src/components/script/dom/event.rs
index 450df543a38..9f7ab79dddb 100644
--- a/src/components/script/dom/event.rs
+++ b/src/components/script/dom/event.rs
@@ -34,11 +34,12 @@ pub enum EventPhase {
#[deriving(Eq, Encodable)]
pub enum EventTypeId {
+ CustomEventTypeId,
HTMLEventTypeId,
- UIEventTypeId,
- MouseEventTypeId,
KeyEventTypeId,
- ProgressEventTypeId
+ MouseEventTypeId,
+ ProgressEventTypeId,
+ UIEventTypeId
}
#[deriving(Encodable)]