OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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 default _TextTrackCueFactoryProvider { | 7 interface TextTrackCue default _TextTrackCueFactoryProvider { |
8 | 8 |
9 TextTrackCue(String id, num startTime, num endTime, String text, [String setti
ngs, bool pauseOnExit]); | 9 TextTrackCue(String id, num startTime, num endTime, String text, [String setti
ngs, bool pauseOnExit]); |
10 | 10 |
11 String alignment; | 11 String align; |
12 | |
13 String direction; | |
14 | 12 |
15 num endTime; | 13 num endTime; |
16 | 14 |
17 String id; | 15 String id; |
18 | 16 |
19 int linePosition; | 17 int line; |
20 | 18 |
21 EventListener onenter; | 19 EventListener onenter; |
22 | 20 |
23 EventListener onexit; | 21 EventListener onexit; |
24 | 22 |
25 bool pauseOnExit; | 23 bool pauseOnExit; |
26 | 24 |
| 25 int position; |
| 26 |
27 int size; | 27 int size; |
28 | 28 |
29 bool snapToLines; | 29 bool snapToLines; |
30 | 30 |
31 num startTime; | 31 num startTime; |
32 | 32 |
33 String text; | 33 String text; |
34 | 34 |
35 int textPosition; | 35 final TextTrack track; |
36 | 36 |
37 final TextTrack track; | 37 String vertical; |
38 | 38 |
39 void addEventListener(String type, EventListener listener, [bool useCapture]); | 39 void addEventListener(String type, EventListener listener, [bool useCapture]); |
40 | 40 |
41 bool dispatchEvent(Event evt); | 41 bool dispatchEvent(Event evt); |
42 | 42 |
43 DocumentFragment getCueAsHTML(); | 43 DocumentFragment getCueAsHTML(); |
44 | 44 |
45 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 45 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
46 } | 46 } |
OLD | NEW |