Move EventTargetTypeId/NodeTypeId to DOMClass

This commit is contained in:
Michael Wu 2015-07-10 21:27:41 -04:00 committed by Anthony Ramine
parent 8d7ba12f28
commit 941f7dc04b
24 changed files with 149 additions and 74 deletions

View file

@ -41,8 +41,10 @@ impl HTMLMediaElement {
}
}
#[derive(JSTraceable, Copy, Clone, Debug, HeapSizeOf)]
#[derive(Copy, Clone, Debug)]
pub enum HTMLMediaElementTypeId {
HTMLMediaElement = -1,
HTMLAudioElement = 0,
HTMLVideoElement = 1,
}