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

Side by Side 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 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 _PeerConnectionWrappingImplementation extends DOMWrapperBase implements Pe erConnection { 7 class _PeerConnectionWrappingImplementation extends DOMWrapperBase implements Pe erConnection {
8 _PeerConnectionWrappingImplementation() : super() {} 8 _PeerConnectionWrappingImplementation() : super() {}
9 9
10 static create__PeerConnectionWrappingImplementation() native { 10 static create__PeerConnectionWrappingImplementation() native {
(...skipping 26 matching lines...) Expand all
37 37
38 void set onopen(EventListener value) { _set_onopen(this, value); } 38 void set onopen(EventListener value) { _set_onopen(this, value); }
39 static void _set_onopen(var _this, EventListener value) native; 39 static void _set_onopen(var _this, EventListener value) native;
40 40
41 EventListener get onremovestream() { return _get_onremovestream(this); } 41 EventListener get onremovestream() { return _get_onremovestream(this); }
42 static EventListener _get_onremovestream(var _this) native; 42 static EventListener _get_onremovestream(var _this) native;
43 43
44 void set onremovestream(EventListener value) { _set_onremovestream(this, value ); } 44 void set onremovestream(EventListener value) { _set_onremovestream(this, value ); }
45 static void _set_onremovestream(var _this, EventListener value) native; 45 static void _set_onremovestream(var _this, EventListener value) native;
46 46
47 EventListener get onstatechange() { return _get_onstatechange(this); }
48 static EventListener _get_onstatechange(var _this) native;
49
50 void set onstatechange(EventListener value) { _set_onstatechange(this, value); }
51 static void _set_onstatechange(var _this, EventListener value) native;
52
47 int get readyState() { return _get_readyState(this); } 53 int get readyState() { return _get_readyState(this); }
48 static int _get_readyState(var _this) native; 54 static int _get_readyState(var _this) native;
49 55
50 MediaStreamList get remoteStreams() { return _get_remoteStreams(this); } 56 MediaStreamList get remoteStreams() { return _get_remoteStreams(this); }
51 static MediaStreamList _get_remoteStreams(var _this) native; 57 static MediaStreamList _get_remoteStreams(var _this) native;
52 58
53 void addEventListener(String type, EventListener listener, bool useCapture) { 59 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
54 _addEventListener(this, type, listener, useCapture); 60 if (useCapture === null) {
55 return; 61 _addEventListener(this, type, listener);
62 return;
63 } else {
64 _addEventListener_2(this, type, listener, useCapture);
65 return;
66 }
56 } 67 }
57 static void _addEventListener(receiver, type, listener, useCapture) native; 68 static void _addEventListener(receiver, type, listener) native;
69 static void _addEventListener_2(receiver, type, listener, useCapture) native;
58 70
59 void addStream(MediaStream stream) { 71 void addStream(MediaStream stream) {
60 _addStream(this, stream); 72 _addStream(this, stream);
61 return; 73 return;
62 } 74 }
63 static void _addStream(receiver, stream) native; 75 static void _addStream(receiver, stream) native;
64 76
65 void close() { 77 void close() {
66 _close(this); 78 _close(this);
67 return; 79 return;
68 } 80 }
69 static void _close(receiver) native; 81 static void _close(receiver) native;
70 82
71 bool dispatchEvent(Event event) { 83 bool dispatchEvent(Event event) {
72 return _dispatchEvent(this, event); 84 return _dispatchEvent(this, event);
73 } 85 }
74 static bool _dispatchEvent(receiver, event) native; 86 static bool _dispatchEvent(receiver, event) native;
75 87
76 void processSignalingMessage(String message) { 88 void processSignalingMessage(String message) {
77 _processSignalingMessage(this, message); 89 _processSignalingMessage(this, message);
78 return; 90 return;
79 } 91 }
80 static void _processSignalingMessage(receiver, message) native; 92 static void _processSignalingMessage(receiver, message) native;
81 93
82 void removeEventListener(String type, EventListener listener, bool useCapture) { 94 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
83 _removeEventListener(this, type, listener, useCapture); 95 if (useCapture === null) {
84 return; 96 _removeEventListener(this, type, listener);
97 return;
98 } else {
99 _removeEventListener_2(this, type, listener, useCapture);
100 return;
101 }
85 } 102 }
86 static void _removeEventListener(receiver, type, listener, useCapture) native; 103 static void _removeEventListener(receiver, type, listener) native;
104 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ e;
87 105
88 void removeStream(MediaStream stream) { 106 void removeStream(MediaStream stream) {
89 _removeStream(this, stream); 107 _removeStream(this, stream);
90 return; 108 return;
91 } 109 }
92 static void _removeStream(receiver, stream) native; 110 static void _removeStream(receiver, stream) native;
93 111
94 void send(String text) { 112 void send(String text) {
95 _send(this, text); 113 _send(this, text);
96 return; 114 return;
97 } 115 }
98 static void _send(receiver, text) native; 116 static void _send(receiver, text) native;
99 117
100 String get typeName() { return "PeerConnection"; } 118 String get typeName() { return "PeerConnection"; }
101 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698