Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: client/dom/generated/src/wrapping/_TextTrackCueWrappingImplementation.dart

Issue 9084005: Refresh dart:dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 class _TextTrackCueWrappingImplementation extends DOMWrapperBase implements Text TrackCue { 7 class _TextTrackCueWrappingImplementation extends DOMWrapperBase implements Text TrackCue {
8 _TextTrackCueWrappingImplementation() : super() {} 8 _TextTrackCueWrappingImplementation() : super() {}
9 9
10 static create__TextTrackCueWrappingImplementation() native { 10 static create__TextTrackCueWrappingImplementation() native {
11 return new _TextTrackCueWrappingImplementation(); 11 return new _TextTrackCueWrappingImplementation();
12 } 12 }
13 13
14 String get alignment() { return _get_alignment(this); } 14 String get alignment() { return _get_alignment(this); }
15 static String _get_alignment(var _this) native; 15 static String _get_alignment(var _this) native;
16 16
17 String get direction() { return _get_direction(this); } 17 String get direction() { return _get_direction(this); }
18 static String _get_direction(var _this) native; 18 static String _get_direction(var _this) native;
19 19
20 num get endTime() { return _get_endTime(this); } 20 num get endTime() { return _get_endTime(this); }
21 static num _get_endTime(var _this) native; 21 static num _get_endTime(var _this) native;
22 22
23 String get id() { return _get_id(this); } 23 String get id() { return _get_id(this); }
24 static String _get_id(var _this) native; 24 static String _get_id(var _this) native;
25 25
26 int get linePosition() { return _get_linePosition(this); } 26 int get linePosition() { return _get_linePosition(this); }
27 static int _get_linePosition(var _this) native; 27 static int _get_linePosition(var _this) native;
28 28
29 EventListener get onenter() { return _get_onenter(this); }
30 static EventListener _get_onenter(var _this) native;
31
32 void set onenter(EventListener value) { _set_onenter(this, value); }
33 static void _set_onenter(var _this, EventListener value) native;
34
35 EventListener get onexit() { return _get_onexit(this); }
36 static EventListener _get_onexit(var _this) native;
37
38 void set onexit(EventListener value) { _set_onexit(this, value); }
39 static void _set_onexit(var _this, EventListener value) native;
40
29 bool get pauseOnExit() { return _get_pauseOnExit(this); } 41 bool get pauseOnExit() { return _get_pauseOnExit(this); }
30 static bool _get_pauseOnExit(var _this) native; 42 static bool _get_pauseOnExit(var _this) native;
31 43
32 int get size() { return _get_size(this); } 44 int get size() { return _get_size(this); }
33 static int _get_size(var _this) native; 45 static int _get_size(var _this) native;
34 46
35 bool get snapToLines() { return _get_snapToLines(this); } 47 bool get snapToLines() { return _get_snapToLines(this); }
36 static bool _get_snapToLines(var _this) native; 48 static bool _get_snapToLines(var _this) native;
37 49
38 num get startTime() { return _get_startTime(this); } 50 num get startTime() { return _get_startTime(this); }
39 static num _get_startTime(var _this) native; 51 static num _get_startTime(var _this) native;
40 52
41 int get textPosition() { return _get_textPosition(this); } 53 int get textPosition() { return _get_textPosition(this); }
42 static int _get_textPosition(var _this) native; 54 static int _get_textPosition(var _this) native;
43 55
44 TextTrack get track() { return _get_track(this); } 56 TextTrack get track() { return _get_track(this); }
45 static TextTrack _get_track(var _this) native; 57 static TextTrack _get_track(var _this) native;
46 58
59 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
60 if (useCapture === null) {
61 _addEventListener(this, type, listener);
62 return;
63 } else {
64 _addEventListener_2(this, type, listener, useCapture);
65 return;
66 }
67 }
68 static void _addEventListener(receiver, type, listener) native;
69 static void _addEventListener_2(receiver, type, listener, useCapture) native;
70
71 bool dispatchEvent(Event evt) {
72 return _dispatchEvent(this, evt);
73 }
74 static bool _dispatchEvent(receiver, evt) native;
75
47 DocumentFragment getCueAsHTML() { 76 DocumentFragment getCueAsHTML() {
48 return _getCueAsHTML(this); 77 return _getCueAsHTML(this);
49 } 78 }
50 static DocumentFragment _getCueAsHTML(receiver) native; 79 static DocumentFragment _getCueAsHTML(receiver) native;
51 80
52 String getCueAsSource() { 81 String getCueAsSource() {
53 return _getCueAsSource(this); 82 return _getCueAsSource(this);
54 } 83 }
55 static String _getCueAsSource(receiver) native; 84 static String _getCueAsSource(receiver) native;
56 85
86 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
87 if (useCapture === null) {
88 _removeEventListener(this, type, listener);
89 return;
90 } else {
91 _removeEventListener_2(this, type, listener, useCapture);
92 return;
93 }
94 }
95 static void _removeEventListener(receiver, type, listener) native;
96 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ e;
97
57 String get typeName() { return "TextTrackCue"; } 98 String get typeName() { return "TextTrackCue"; }
58 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698