Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 // Change the return type to custom so that it can be either ArrayBuffer | |
| 310 // or string. | |
| 311 [Suppressed] boolean send(in DOMString data) raises(DOMException); | |
| 312 [Custom] boolean send(in custom data) raises(DOMException); | |
|
vsm
2012/09/04 19:55:18
I'd prefer not making the type of data 'custom' as
blois
2012/09/04 21:07:07
Looks like it does, I've made this change.
On 201
| |
| 313 }; | |
| 314 } | |
| 315 | |
| OLD | NEW |