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

Unified Diff: client/html/generated/html/frog/PeerConnection.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/html/generated/html/frog/PeerConnection.dart
diff --git a/client/html/generated/html/frog/PeerConnection.dart b/client/html/generated/html/frog/PeerConnection.dart
new file mode 100644
index 0000000000000000000000000000000000000000..6d498abb2c43a4677441d30f58d86fedb23fa97e
--- /dev/null
+++ b/client/html/generated/html/frog/PeerConnection.dart
@@ -0,0 +1,45 @@
+
+class _PeerConnectionImpl implements PeerConnection native "*PeerConnection" {
+
+ static final int ACTIVE = 2;
+
+ static final int CLOSED = 3;
+
+ static final int NEGOTIATING = 1;
+
+ static final int NEW = 0;
+
+ final _MediaStreamListImpl localStreams;
+
+ EventListener onaddstream;
+
+ EventListener onconnecting;
+
+ EventListener onmessage;
+
+ EventListener onopen;
+
+ EventListener onremovestream;
+
+ EventListener onstatechange;
+
+ final int readyState;
+
+ final _MediaStreamListImpl remoteStreams;
+
+ void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ void addStream(_MediaStreamImpl stream) native;
+
+ void close() native;
+
+ bool dispatchEvent(_EventImpl event) native;
+
+ void processSignalingMessage(String message) native;
+
+ void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
+
+ void removeStream(_MediaStreamImpl stream) native;
+
+ void send(String text) native;
+}

Powered by Google App Engine
This is Rietveld 408576698