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

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

Issue 9317046: Make dart:dom implementation types private so they don't muddle the docs. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class WebSocketJs extends DOMTypeJs implements WebSocket native "*WebSocket" { 2 class _WebSocketJs extends _DOMTypeJs implements WebSocket native "*WebSocket" {
3 WebSocket(String url) native; 3 WebSocket(String url) native;
4 4
5 5
6 static final int CLOSED = 3; 6 static final int CLOSED = 3;
7 7
8 static final int CLOSING = 2; 8 static final int CLOSING = 2;
9 9
10 static final int CONNECTING = 0; 10 static final int CONNECTING = 0;
11 11
12 static final int OPEN = 1; 12 static final int OPEN = 1;
(...skipping 11 matching lines...) Expand all
24 String get protocol() native "return this.protocol;"; 24 String get protocol() native "return this.protocol;";
25 25
26 int get readyState() native "return this.readyState;"; 26 int get readyState() native "return this.readyState;";
27 27
28 String get url() native "return this.url;"; 28 String get url() native "return this.url;";
29 29
30 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 30 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
31 31
32 void close([int code = null, String reason = null]) native; 32 void close([int code = null, String reason = null]) native;
33 33
34 bool dispatchEvent(EventJs evt) native; 34 bool dispatchEvent(_EventJs evt) native;
35 35
36 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 36 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
37 37
38 bool send(String data) native; 38 bool send(String data) native;
39 } 39 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/WebKitTransitionEvent.dart ('k') | client/dom/generated/src/frog/WheelEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698