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

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

Issue 9381030: Let EventTarget be a base class in the frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: EventsTest passes 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 _EventTargetJs implements WebSocket native "*WebSocke t" {
3 3
4 static final int CLOSED = 3; 4 static final int CLOSED = 3;
5 5
6 static final int CLOSING = 2; 6 static final int CLOSING = 2;
7 7
8 static final int CONNECTING = 0; 8 static final int CONNECTING = 0;
9 9
10 static final int OPEN = 1; 10 static final int OPEN = 1;
11 11
12 final String URL; 12 final String URL;
(...skipping 13 matching lines...) Expand all
26 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 26 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
27 27
28 void close([int code = null, String reason = null]) native; 28 void close([int code = null, String reason = null]) native;
29 29
30 bool dispatchEvent(_EventJs evt) native; 30 bool dispatchEvent(_EventJs evt) native;
31 31
32 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 32 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
33 33
34 bool send(String data) native; 34 bool send(String data) native;
35 } 35 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/SVGElementInstance.dart ('k') | client/dom/generated/src/frog/XMLHttpRequest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698