OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class TextTrackWrappingImplementation extends DOMWrapperBase implements TextTrac
k { | |
8 TextTrackWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 TextTrackCueList get activeCues() { return LevelDom.wrapTextTrackCueList(_ptr.
activeCues); } | |
11 | |
12 TextTrackCueList get cues() { return LevelDom.wrapTextTrackCueList(_ptr.cues);
} | |
13 | |
14 String get kind() { return _ptr.kind; } | |
15 | |
16 String get label() { return _ptr.label; } | |
17 | |
18 String get language() { return _ptr.language; } | |
19 | |
20 int get mode() { return _ptr.mode; } | |
21 | |
22 void set mode(int value) { _ptr.mode = value; } | |
23 | |
24 int get readyState() { return _ptr.readyState; } | |
25 | |
26 void addCue(TextTrackCue cue) { | |
27 _ptr.addCue(LevelDom.unwrap(cue)); | |
28 return; | |
29 } | |
30 | |
31 void removeCue(TextTrackCue cue) { | |
32 _ptr.removeCue(LevelDom.unwrap(cue)); | |
33 return; | |
34 } | |
35 } | |
OLD | NEW |