| OLD | NEW |
| 1 | 1 |
| 2 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" { | 2 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" { |
| 3 | 3 |
| 4 static final int ERROR = 3; | 4 static final int ERROR = 3; |
| 5 | 5 |
| 6 static final int LOADED = 2; | 6 static final int LOADED = 2; |
| 7 | 7 |
| 8 static final int LOADING = 1; | 8 static final int LOADING = 1; |
| 9 | 9 |
| 10 static final int NONE = 0; | 10 static final int NONE = 0; |
| 11 | 11 |
| 12 bool isDefault; | 12 bool get isDefault() native "return this.isDefault;"; |
| 13 | 13 |
| 14 String kind; | 14 void set isDefault(bool value) native "this.isDefault = value;"; |
| 15 | 15 |
| 16 String label; | 16 String get kind() native "return this.kind;"; |
| 17 | 17 |
| 18 int readyState; | 18 void set kind(String value) native "this.kind = value;"; |
| 19 | 19 |
| 20 String src; | 20 String get label() native "return this.label;"; |
| 21 | 21 |
| 22 String srclang; | 22 void set label(String value) native "this.label = value;"; |
| 23 | 23 |
| 24 TextTrack track; | 24 int get readyState() native "return this.readyState;"; |
| 25 |
| 26 String get src() native "return this.src;"; |
| 27 |
| 28 void set src(String value) native "this.src = value;"; |
| 29 |
| 30 String get srclang() native "return this.srclang;"; |
| 31 |
| 32 void set srclang(String value) native "this.srclang = value;"; |
| 33 |
| 34 TextTrack get track() native "return this.track;"; |
| 25 } | 35 } |
| OLD | NEW |