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

Side by Side Diff: client/dom/generated/src/wrapping/_TextTrackWrappingImplementation.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 _TextTrackWrappingImplementation extends DOMWrapperBase implements TextTra ck { 7 class _TextTrackWrappingImplementation extends DOMWrapperBase implements TextTra ck {
8 _TextTrackWrappingImplementation() : super() {} 8 _TextTrackWrappingImplementation() : super() {}
9 9
10 static create__TextTrackWrappingImplementation() native { 10 static create__TextTrackWrappingImplementation() native {
(...skipping 14 matching lines...) Expand all
25 25
26 String get language() { return _get_language(this); } 26 String get language() { return _get_language(this); }
27 static String _get_language(var _this) native; 27 static String _get_language(var _this) native;
28 28
29 int get mode() { return _get_mode(this); } 29 int get mode() { return _get_mode(this); }
30 static int _get_mode(var _this) native; 30 static int _get_mode(var _this) native;
31 31
32 void set mode(int value) { _set_mode(this, value); } 32 void set mode(int value) { _set_mode(this, value); }
33 static void _set_mode(var _this, int value) native; 33 static void _set_mode(var _this, int value) native;
34 34
35 int get readyState() { return _get_readyState(this); } 35 EventListener get oncuechange() { return _get_oncuechange(this); }
36 static int _get_readyState(var _this) native; 36 static EventListener _get_oncuechange(var _this) native;
37
38 void set oncuechange(EventListener value) { _set_oncuechange(this, value); }
39 static void _set_oncuechange(var _this, EventListener value) native;
37 40
38 void addCue(TextTrackCue cue) { 41 void addCue(TextTrackCue cue) {
39 _addCue(this, cue); 42 _addCue(this, cue);
40 return; 43 return;
41 } 44 }
42 static void _addCue(receiver, cue) native; 45 static void _addCue(receiver, cue) native;
43 46
47 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
48 if (useCapture === null) {
49 _addEventListener(this, type, listener);
50 return;
51 } else {
52 _addEventListener_2(this, type, listener, useCapture);
53 return;
54 }
55 }
56 static void _addEventListener(receiver, type, listener) native;
57 static void _addEventListener_2(receiver, type, listener, useCapture) native;
58
59 bool dispatchEvent(Event evt) {
60 return _dispatchEvent(this, evt);
61 }
62 static bool _dispatchEvent(receiver, evt) native;
63
44 void removeCue(TextTrackCue cue) { 64 void removeCue(TextTrackCue cue) {
45 _removeCue(this, cue); 65 _removeCue(this, cue);
46 return; 66 return;
47 } 67 }
48 static void _removeCue(receiver, cue) native; 68 static void _removeCue(receiver, cue) native;
49 69
70 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
71 if (useCapture === null) {
72 _removeEventListener(this, type, listener);
73 return;
74 } else {
75 _removeEventListener_2(this, type, listener, useCapture);
76 return;
77 }
78 }
79 static void _removeEventListener(receiver, type, listener) native;
80 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ e;
81
50 String get typeName() { return "TextTrack"; } 82 String get typeName() { return "TextTrack"; }
51 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698