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

Side by Side 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, 9 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
(Empty)
1
2 class _PeerConnectionImpl implements PeerConnection native "*PeerConnection" {
3
4 static final int ACTIVE = 2;
5
6 static final int CLOSED = 3;
7
8 static final int NEGOTIATING = 1;
9
10 static final int NEW = 0;
11
12 final _MediaStreamListImpl localStreams;
13
14 EventListener onaddstream;
15
16 EventListener onconnecting;
17
18 EventListener onmessage;
19
20 EventListener onopen;
21
22 EventListener onremovestream;
23
24 EventListener onstatechange;
25
26 final int readyState;
27
28 final _MediaStreamListImpl remoteStreams;
29
30 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
31
32 void addStream(_MediaStreamImpl stream) native;
33
34 void close() native;
35
36 bool dispatchEvent(_EventImpl event) native;
37
38 void processSignalingMessage(String message) native;
39
40 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
41
42 void removeStream(_MediaStreamImpl stream) native;
43
44 void send(String text) native;
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698