| OLD | NEW |
| 1 | 1 |
| 2 class TextTrack native "*TextTrack" { | 2 class TextTrack native "*TextTrack" { |
| 3 | 3 |
| 4 static final int DISABLED = 0; | 4 static final int DISABLED = 0; |
| 5 | 5 |
| 6 static final int HIDDEN = 1; | 6 static final int HIDDEN = 1; |
| 7 | 7 |
| 8 static final int SHOWING = 2; | 8 static final int SHOWING = 2; |
| 9 | 9 |
| 10 TextTrackCueList activeCues; | 10 TextTrackCueList get activeCues() native "return this.activeCues;"; |
| 11 | 11 |
| 12 TextTrackCueList cues; | 12 TextTrackCueList get cues() native "return this.cues;"; |
| 13 | 13 |
| 14 String kind; | 14 String get kind() native "return this.kind;"; |
| 15 | 15 |
| 16 String label; | 16 String get label() native "return this.label;"; |
| 17 | 17 |
| 18 String language; | 18 String get language() native "return this.language;"; |
| 19 | 19 |
| 20 int mode; | 20 int get mode() native "return this.mode;"; |
| 21 | 21 |
| 22 EventListener oncuechange; | 22 void set mode(int value) native "this.mode = value;"; |
| 23 |
| 24 EventListener get oncuechange() native "return this.oncuechange;"; |
| 25 |
| 26 void set oncuechange(EventListener value) native "this.oncuechange = value;"; |
| 23 | 27 |
| 24 void addCue(TextTrackCue cue) native; | 28 void addCue(TextTrackCue cue) native; |
| 25 | 29 |
| 26 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 27 | 31 |
| 28 bool dispatchEvent(Event evt) native; | 32 bool dispatchEvent(Event evt) native; |
| 29 | 33 |
| 30 void removeCue(TextTrackCue cue) native; | 34 void removeCue(TextTrackCue cue) native; |
| 31 | 35 |
| 32 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 36 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 33 | 37 |
| 34 var dartObjectLocalStorage; | 38 var dartObjectLocalStorage; |
| 35 | 39 |
| 36 String get typeName() native; | 40 String get typeName() native; |
| 37 } | 41 } |
| OLD | NEW |