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

Side by Side Diff: lib/dom/idl/dart/dart.idl

Issue 10918059: Changing websocket API to make it possible to send array buffers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding overrides to the send method. Created 8 years, 3 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
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // This file introduces / supplements and forces Dart declarations. 2 // This file introduces / supplements and forces Dart declarations.
3 3
4 module default { 4 module default {
5 FileList implements sequence<File>; 5 FileList implements sequence<File>;
6 HTMLCollection implements sequence<Node>; 6 HTMLCollection implements sequence<Node>;
7 MediaList implements sequence<DOMString>; 7 MediaList implements sequence<DOMString>;
8 NamedNodeMap implements sequence<Node>; 8 NamedNodeMap implements sequence<Node>;
9 NodeList implements sequence<Node>; 9 NodeList implements sequence<Node>;
10 StyleSheetList implements sequence<StyleSheet>; 10 StyleSheetList implements sequence<StyleSheet>;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 295
296 module storage { 296 module storage {
297 [Supplemental] 297 [Supplemental]
298 interface SQLResultSetRowList { 298 interface SQLResultSetRowList {
299 // Change the return type to Dictionary so that rows are exposed in the Dart 299 // Change the return type to Dictionary so that rows are exposed in the Dart
300 // API as a Maps, with the appropriate conversion in JavaScript. 300 // API as a Maps, with the appropriate conversion in JavaScript.
301 [Suppressed] DOMObject item(in unsigned long index); 301 [Suppressed] DOMObject item(in unsigned long index);
302 [Custom] Dictionary item(in unsigned long index); 302 [Custom] Dictionary item(in unsigned long index);
303 }; 303 };
304 } 304 }
305
306 module websockets {
307 [Supplemental]
308 interface WebSocket {
309 // Suppress the default since it has non-standard return type and add
310 // overrides.
311 [Suppressed] boolean send(in DOMString data) raises(DOMException);
312 [Custom] void send(DOMString data) raises(DOMException);
313 [Custom] void send(Blob data) raises(DOMException);
314 [Custom] void send(ArrayBuffer data) raises(DOMException);
315 [Custom] void send(ArrayBufferView data) raises(DOMException);
316 };
317 }
318
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698