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

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

Issue 8879037: Added WebSocket support for dartc and frog (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « client/dom/generated/src/frog/WebSocket.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 interface WebSocket extends EventTarget { 7 interface WebSocket extends EventTarget factory _WebSocketFactoryProvider {
8
9 WebSocket(String url);
8 10
9 static final int CLOSED = 3; 11 static final int CLOSED = 3;
10 12
11 static final int CLOSING = 2; 13 static final int CLOSING = 2;
12 14
13 static final int CONNECTING = 0; 15 static final int CONNECTING = 0;
14 16
15 static final int OPEN = 1; 17 static final int OPEN = 1;
16 18
17 String get URL(); 19 String get URL();
(...skipping 13 matching lines...) Expand all
31 void addEventListener(String type, EventListener listener, [bool useCapture]); 33 void addEventListener(String type, EventListener listener, [bool useCapture]);
32 34
33 void close([int code, String reason]); 35 void close([int code, String reason]);
34 36
35 bool dispatchEvent(Event evt); 37 bool dispatchEvent(Event evt);
36 38
37 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 39 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
38 40
39 bool send(String data); 41 bool send(String data);
40 } 42 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/WebSocket.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698