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

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

Issue 8637013: Remove support for attribute event listeners. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 String URL; 4 String URL;
5 5
6 String binaryType; 6 String binaryType;
7 7
8 int bufferedAmount; 8 int bufferedAmount;
9 9
10 String extensions; 10 String extensions;
11 11
12 EventListener onclose;
13
14 EventListener onerror;
15
16 EventListener onmessage;
17
18 EventListener onopen;
19
20 String protocol; 12 String protocol;
21 13
22 int readyState; 14 int readyState;
23 15
24 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 16 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
25 17
26 void close([int code = null, String reason = null]) native; 18 void close([int code = null, String reason = null]) native;
27 19
28 bool dispatchEvent(Event evt) native; 20 bool dispatchEvent(Event evt) native;
29 21
30 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 22 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
31 23
32 bool send(String data) native; 24 bool send(String data) native;
33 25
34 var dartObjectLocalStorage; 26 var dartObjectLocalStorage;
35 27
36 String get typeName() native; 28 String get typeName() native;
37 } 29 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/SharedWorkercontext.dart ('k') | client/dom/generated/src/frog/Worker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698