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

Side by Side Diff: client/dom/generated/src/wrapping/_WebSocketWrappingImplementation.dart

Issue 9264057: Refresh dart:dom libraries from WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't re-implement List<>, causes code that dartc rejects due to static 'override' 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 // 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 class _WebSocketWrappingImplementation extends DOMWrapperBase implements WebSock et { 7 class _WebSocketWrappingImplementation extends DOMWrapperBase implements WebSock et {
8 _WebSocketWrappingImplementation() : super() {} 8 _WebSocketWrappingImplementation() : super() {}
9 9
10 static create__WebSocketWrappingImplementation() native { 10 static create__WebSocketWrappingImplementation() native {
(...skipping 14 matching lines...) Expand all
25 25
26 String get extensions() { return _get_extensions(this); } 26 String get extensions() { return _get_extensions(this); }
27 static String _get_extensions(var _this) native; 27 static String _get_extensions(var _this) native;
28 28
29 String get protocol() { return _get_protocol(this); } 29 String get protocol() { return _get_protocol(this); }
30 static String _get_protocol(var _this) native; 30 static String _get_protocol(var _this) native;
31 31
32 int get readyState() { return _get_readyState(this); } 32 int get readyState() { return _get_readyState(this); }
33 static int _get_readyState(var _this) native; 33 static int _get_readyState(var _this) native;
34 34
35 String get url() { return _get_url(this); }
36 static String _get_url(var _this) native;
37
35 void addEventListener(String type, EventListener listener, [bool useCapture = null]) { 38 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
36 if (useCapture === null) { 39 if (useCapture === null) {
37 _addEventListener_WebSocket(this, type, listener); 40 _addEventListener_WebSocket(this, type, listener);
38 return; 41 return;
39 } else { 42 } else {
40 _addEventListener_WebSocket_2(this, type, listener, useCapture); 43 _addEventListener_WebSocket_2(this, type, listener, useCapture);
41 return; 44 return;
42 } 45 }
43 } 46 }
44 static void _addEventListener_WebSocket(receiver, type, listener) native; 47 static void _addEventListener_WebSocket(receiver, type, listener) native;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 static void _removeEventListener_WebSocket(receiver, type, listener) native; 85 static void _removeEventListener_WebSocket(receiver, type, listener) native;
83 static void _removeEventListener_WebSocket_2(receiver, type, listener, useCapt ure) native; 86 static void _removeEventListener_WebSocket_2(receiver, type, listener, useCapt ure) native;
84 87
85 bool send(String data) { 88 bool send(String data) {
86 return _send(this, data); 89 return _send(this, data);
87 } 90 }
88 static bool _send(receiver, data) native; 91 static bool _send(receiver, data) native;
89 92
90 String get typeName() { return "WebSocket"; } 93 String get typeName() { return "WebSocket"; }
91 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698