OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 interface TextTrack { |
| 8 |
| 9 static final int DISABLED = 0; |
| 10 |
| 11 static final int HIDDEN = 1; |
| 12 |
| 13 static final int SHOWING = 2; |
| 14 |
| 15 final TextTrackCueList activeCues; |
| 16 |
| 17 final TextTrackCueList cues; |
| 18 |
| 19 final String kind; |
| 20 |
| 21 final String label; |
| 22 |
| 23 final String language; |
| 24 |
| 25 int mode; |
| 26 |
| 27 EventListener oncuechange; |
| 28 |
| 29 void addCue(TextTrackCue cue); |
| 30 |
| 31 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 32 |
| 33 bool dispatchEvent(Event evt); |
| 34 |
| 35 void removeCue(TextTrackCue cue); |
| 36 |
| 37 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 38 } |
OLD | NEW |