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 TextTrackCue { | 7 interface TextTrackCue { |
8 | 8 |
9 String get alignment(); | 9 String alignment; |
10 | 10 |
11 void set alignment(String value); | 11 String direction; |
12 | 12 |
13 String get direction(); | 13 num endTime; |
14 | 14 |
15 void set direction(String value); | 15 String id; |
16 | 16 |
17 num get endTime(); | 17 int linePosition; |
18 | 18 |
19 void set endTime(num value); | 19 EventListener onenter; |
20 | 20 |
21 String get id(); | 21 EventListener onexit; |
22 | 22 |
23 void set id(String value); | 23 bool pauseOnExit; |
24 | 24 |
25 int get linePosition(); | 25 int size; |
26 | 26 |
27 void set linePosition(int value); | 27 bool snapToLines; |
28 | 28 |
29 EventListener get onenter(); | 29 num startTime; |
30 | 30 |
31 void set onenter(EventListener value); | 31 String text; |
32 | 32 |
33 EventListener get onexit(); | 33 int textPosition; |
34 | 34 |
35 void set onexit(EventListener value); | 35 final TextTrack track; |
36 | |
37 bool get pauseOnExit(); | |
38 | |
39 void set pauseOnExit(bool value); | |
40 | |
41 int get size(); | |
42 | |
43 void set size(int value); | |
44 | |
45 bool get snapToLines(); | |
46 | |
47 void set snapToLines(bool value); | |
48 | |
49 num get startTime(); | |
50 | |
51 void set startTime(num value); | |
52 | |
53 String get text(); | |
54 | |
55 void set text(String value); | |
56 | |
57 int get textPosition(); | |
58 | |
59 void set textPosition(int value); | |
60 | |
61 TextTrack get track(); | |
62 | 36 |
63 void addEventListener(String type, EventListener listener, [bool useCapture]); | 37 void addEventListener(String type, EventListener listener, [bool useCapture]); |
64 | 38 |
65 bool dispatchEvent(Event evt); | 39 bool dispatchEvent(Event evt); |
66 | 40 |
67 DocumentFragment getCueAsHTML(); | 41 DocumentFragment getCueAsHTML(); |
68 | 42 |
69 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 43 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
70 } | 44 } |
OLD | NEW |