| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 }; | 50 }; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 module html { | 53 module html { |
| 54 [Supplemental] | 54 [Supplemental] |
| 55 interface Console { | 55 interface Console { |
| 56 [Suppressed] void assert(in boolean condition); | 56 [Suppressed] void assert(in boolean condition); |
| 57 [CallWith=ScriptArguments|CallStack] void assertCondition(boolean condition)
; | 57 [CallWith=ScriptArguments|CallStack] void assertCondition(boolean condition)
; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 interface HTMLCanvasElement { |
| 61 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=N
ullString,Optional=DefaultIsUndefined] in DOMString type) raises(DOMException); |
| 62 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullS
tring,Optional=DefaultIsUndefined] in DOMString type, [Optional] in float qualit
y) raises(DOMException); |
| 63 |
| 64 }; |
| 65 |
| 60 [Supplemental] | 66 [Supplemental] |
| 61 interface HTMLOptionsCollection { | 67 interface HTMLOptionsCollection { |
| 62 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in
long before); | 68 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in
long before); |
| 63 }; | 69 }; |
| 64 | 70 |
| 65 [Supplemental] | 71 [Supplemental] |
| 66 interface ImageData { | 72 interface ImageData { |
| 67 readonly attribute Uint8ClampedArray data; | 73 readonly attribute Uint8ClampedArray data; |
| 68 }; | 74 }; |
| 69 | 75 |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 CustomConstructor, | 276 CustomConstructor, |
| 271 // Provide missing constructor signature. | 277 // Provide missing constructor signature. |
| 272 Constructor(MutationCallback callback)] | 278 Constructor(MutationCallback callback)] |
| 273 interface MutationObserver { | 279 interface MutationObserver { |
| 274 // 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 |
| 275 // original. | 281 // original. |
| 276 [DartName=_observe] void observe(in Node target, in Dictionary options) | 282 [DartName=_observe] void observe(in Node target, in Dictionary options) |
| 277 raises(DOMException); | 283 raises(DOMException); |
| 278 }; | 284 }; |
| 279 } | 285 } |
| OLD | NEW |