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

Unified Diff: client/dom/generated/src/wrapping/_PeerConnectionWrappingImplementation.dart

Issue 9422008: Regenerate frog dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 10 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/_PeerConnectionWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_PeerConnectionWrappingImplementation.dart b/client/dom/generated/src/wrapping/_PeerConnectionWrappingImplementation.dart
index 661bb1e2ef536a283a570c589d967e5bc9300e43..4d3fad2a07298e73c6d8d0167c6aea15a2d44d9c 100644
--- a/client/dom/generated/src/wrapping/_PeerConnectionWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_PeerConnectionWrappingImplementation.dart
@@ -44,17 +44,29 @@ class _PeerConnectionWrappingImplementation extends DOMWrapperBase implements Pe
void set onremovestream(EventListener value) { _set_onremovestream(this, value); }
static void _set_onremovestream(var _this, EventListener value) native;
+ EventListener get onstatechange() { return _get_onstatechange(this); }
+ static EventListener _get_onstatechange(var _this) native;
+
+ void set onstatechange(EventListener value) { _set_onstatechange(this, value); }
+ static void _set_onstatechange(var _this, EventListener value) native;
+
int get readyState() { return _get_readyState(this); }
static int _get_readyState(var _this) native;
MediaStreamList get remoteStreams() { return _get_remoteStreams(this); }
static MediaStreamList _get_remoteStreams(var _this) native;
- void addEventListener(String type, EventListener listener, bool useCapture) {
- _addEventListener(this, type, listener, useCapture);
- return;
+ 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, useCapture) native;
+ static void _addEventListener(receiver, type, listener) native;
+ static void _addEventListener_2(receiver, type, listener, useCapture) native;
void addStream(MediaStream stream) {
_addStream(this, stream);
@@ -79,11 +91,17 @@ class _PeerConnectionWrappingImplementation extends DOMWrapperBase implements Pe
}
static void _processSignalingMessage(receiver, message) native;
- void removeEventListener(String type, EventListener listener, bool useCapture) {
- _removeEventListener(this, type, listener, useCapture);
- return;
+ 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, useCapture) native;
+ static void _removeEventListener(receiver, type, listener) native;
+ static void _removeEventListener_2(receiver, type, listener, useCapture) native;
void removeStream(MediaStream stream) {
_removeStream(this, stream);

Powered by Google App Engine
This is Rietveld 408576698