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

Unified 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, 12 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/wrapping/_TextTrackWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_TextTrackWrappingImplementation.dart b/client/dom/generated/src/wrapping/_TextTrackWrappingImplementation.dart
index 340371b7e93912183dccba599ee0a55bafc8a6c7..f1c7815ab1c6b8ba19aec4bc456216357c6f0dc9 100644
--- a/client/dom/generated/src/wrapping/_TextTrackWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_TextTrackWrappingImplementation.dart
@@ -32,8 +32,11 @@ class _TextTrackWrappingImplementation extends DOMWrapperBase implements TextTra
void set mode(int value) { _set_mode(this, value); }
static void _set_mode(var _this, int value) native;
- int get readyState() { return _get_readyState(this); }
- static int _get_readyState(var _this) native;
+ EventListener get oncuechange() { return _get_oncuechange(this); }
+ static EventListener _get_oncuechange(var _this) native;
+
+ void set oncuechange(EventListener value) { _set_oncuechange(this, value); }
+ static void _set_oncuechange(var _this, EventListener value) native;
void addCue(TextTrackCue cue) {
_addCue(this, cue);
@@ -41,11 +44,40 @@ class _TextTrackWrappingImplementation extends DOMWrapperBase implements TextTra
}
static void _addCue(receiver, cue) native;
+ void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
+ if (useCapture === null) {
+ _addEventListener(this, type, listener);
+ return;
+ } else {
+ _addEventListener_2(this, type, listener, useCapture);
+ return;
+ }
+ }
+ static void _addEventListener(receiver, type, listener) native;
+ static void _addEventListener_2(receiver, type, listener, useCapture) native;
+
+ bool dispatchEvent(Event evt) {
+ return _dispatchEvent(this, evt);
+ }
+ static bool _dispatchEvent(receiver, evt) native;
+
void removeCue(TextTrackCue cue) {
_removeCue(this, cue);
return;
}
static void _removeCue(receiver, cue) native;
+ void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
+ if (useCapture === null) {
+ _removeEventListener(this, type, listener);
+ return;
+ } else {
+ _removeEventListener_2(this, type, listener, useCapture);
+ return;
+ }
+ }
+ static void _removeEventListener(receiver, type, listener) native;
+ static void _removeEventListener_2(receiver, type, listener, useCapture) native;
+
String get typeName() { return "TextTrack"; }
}

Powered by Google App Engine
This is Rietveld 408576698