| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface TextTrack { | 7 interface TextTrack { |
| 8 | 8 |
| 9 static final int DISABLED = 0; | 9 static final int Disabled = 0; |
| 10 | 10 |
| 11 static final int HIDDEN = 1; | 11 static final int Error = 3; |
| 12 | 12 |
| 13 static final int SHOWING = 2; | 13 static final int Hidden = 1; |
| 14 |
| 15 static final int Loaded = 2; |
| 16 |
| 17 static final int Loading = 1; |
| 18 |
| 19 static final int None = 0; |
| 20 |
| 21 static final int Showing = 2; |
| 14 | 22 |
| 15 TextTrackCueList get activeCues(); | 23 TextTrackCueList get activeCues(); |
| 16 | 24 |
| 17 TextTrackCueList get cues(); | 25 TextTrackCueList get cues(); |
| 18 | 26 |
| 19 String get kind(); | 27 String get kind(); |
| 20 | 28 |
| 21 String get label(); | 29 String get label(); |
| 22 | 30 |
| 23 String get language(); | 31 String get language(); |
| 24 | 32 |
| 25 int get mode(); | 33 int get mode(); |
| 26 | 34 |
| 27 void set mode(int value); | 35 void set mode(int value); |
| 28 | 36 |
| 29 EventListener get oncuechange(); | 37 int get readyState(); |
| 30 | |
| 31 void set oncuechange(EventListener value); | |
| 32 | 38 |
| 33 void addCue(TextTrackCue cue); | 39 void addCue(TextTrackCue cue); |
| 34 | 40 |
| 35 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
| 36 | |
| 37 bool dispatchEvent(Event evt); | |
| 38 | |
| 39 void removeCue(TextTrackCue cue); | 41 void removeCue(TextTrackCue cue); |
| 40 | |
| 41 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
| 42 } | 42 } |
| OLD | NEW |