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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 11828062: Updating IDL for WebSocket to cover latest IDL updates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 4047ff8e486f2721ebf7e03c73633f155962b95d..64c4e68d227d50f89267341d9f388620f97eb35e 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -25428,62 +25428,9 @@ class WebSocket extends EventTarget {
/** @domName WebSocket.removeEventListener */
void $dom_removeEventListener(String type, EventListener listener, [bool useCapture]) native "WebSocket_removeEventListener_Callback";
- bool send(data) {
- if ((data is ArrayBuffer || data == null)) {
- return _send_1(data);
- }
- if ((data is ArrayBufferView || data == null)) {
- return _send_2(data);
- }
- if ((data is Blob || data == null)) {
- return _send_3(data);
- }
- if ((data is String || data == null)) {
- _send_4(data);
- return;
- }
- if ((data is ArrayBufferView || data == null)) {
- _send_5(data);
- return;
- }
- if ((data is Blob || data == null)) {
- _send_6(data);
- return;
- }
- if ((data is ArrayBuffer || data == null)) {
- _send_7(data);
- return;
- }
- throw new ArgumentError("Incorrect number or type of arguments");
- }
-
-
- /** @domName WebSocket.send_1 */
- bool _send_1(data) native "WebSocket_send_1_Callback";
-
-
- /** @domName WebSocket.send_2 */
- bool _send_2(data) native "WebSocket_send_2_Callback";
-
-
- /** @domName WebSocket.send_3 */
- bool _send_3(data) native "WebSocket_send_3_Callback";
-
-
- /** @domName WebSocket.send_4 */
- void _send_4(data) native "WebSocket_send_4_Callback";
-
-
- /** @domName WebSocket.send_5 */
- void _send_5(data) native "WebSocket_send_5_Callback";
-
-
- /** @domName WebSocket.send_6 */
- void _send_6(data) native "WebSocket_send_6_Callback";
-
- /** @domName WebSocket.send_7 */
- void _send_7(data) native "WebSocket_send_7_Callback";
+ /** @domName WebSocket.send */
+ void send(data) native "WebSocket_send_Callback";
}
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698