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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // Provide missing constructor signature. | 277 // Provide missing constructor signature. |
278 Constructor(MutationCallback callback)] | 278 Constructor(MutationCallback callback)] |
279 interface MutationObserver { | 279 interface MutationObserver { |
280 // Rename 'observe' so we can define a new 'observe' API that calls the | 280 // Rename 'observe' so we can define a new 'observe' API that calls the |
281 // original. | 281 // original. |
282 [DartName=_observe] void observe(in Node target, in Dictionary options) | 282 [DartName=_observe] void observe(in Node target, in Dictionary options) |
283 raises(DOMException); | 283 raises(DOMException); |
284 }; | 284 }; |
285 } | 285 } |
286 | 286 |
287 module html { | |
288 [Supplemental, | |
289 CustomConstructor, | |
290 // Provide missing constructor signature. | |
291 Constructor([Optional] in FormElement form)] | |
292 interface FormData { | |
293 }; | |
294 } | |
295 | |
296 module storage { | 287 module storage { |
297 [Supplemental] | 288 [Supplemental] |
298 interface SQLResultSetRowList { | 289 interface SQLResultSetRowList { |
299 // Change the return type to Dictionary so that rows are exposed in the Dart | 290 // 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. | 291 // API as a Maps, with the appropriate conversion in JavaScript. |
301 [Suppressed] DOMObject item(in unsigned long index); | 292 [Suppressed] DOMObject item(in unsigned long index); |
302 [Custom] Dictionary item(in unsigned long index); | 293 [Custom] Dictionary item(in unsigned long index); |
303 }; | 294 }; |
304 } | 295 } |
OLD | NEW |