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

Side by Side Diff: client/dom/generated/src/frog/WebSocket.dart

Issue 8473008: Generate constants for IDL classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add frog dom Created 9 years 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 1
2 class WebSocket native "*WebSocket" { 2 class WebSocket native "*WebSocket" {
3 3
4 static final int CLOSED = 3;
5
6 static final int CLOSING = 2;
7
8 static final int CONNECTING = 0;
9
10 static final int OPEN = 1;
11
4 String URL; 12 String URL;
5 13
6 String binaryType; 14 String binaryType;
7 15
8 int bufferedAmount; 16 int bufferedAmount;
9 17
10 String extensions; 18 String extensions;
11 19
12 String protocol; 20 String protocol;
13 21
14 int readyState; 22 int readyState;
15 23
16 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 24 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
17 25
18 void close([int code = null, String reason = null]) native; 26 void close([int code = null, String reason = null]) native;
19 27
20 bool dispatchEvent(Event evt) native; 28 bool dispatchEvent(Event evt) native;
21 29
22 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 30 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
23 31
24 bool send(String data) native; 32 bool send(String data) native;
25 33
26 var dartObjectLocalStorage; 34 var dartObjectLocalStorage;
27 35
28 String get typeName() native; 36 String get typeName() native;
29 } 37 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/WebKitCSSTransformValue.dart ('k') | client/dom/generated/src/frog/XMLHttpRequest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698