| OLD | NEW |
| 1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
| 2 | 2 |
| 3 [Supplemental, | 3 [Supplemental, |
| 4 Constructor] | 4 Constructor] |
| 5 interface AudioContext {}; | 5 interface AudioContext {}; |
| 6 | 6 |
| 7 [Supplemental] | 7 [Supplemental] |
| 8 interface Document { | 8 interface Document { |
| 9 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin
g name, in long width, in long height); | 9 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin
g name, in long width, in long height); |
| 10 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin
g name, in long width, in long height); | 10 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin
g name, in long width, in long height); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 [Supplemental] | 34 [Supplemental] |
| 35 interface Console { | 35 interface Console { |
| 36 [Suppressed] void assert(in boolean condition); | 36 [Suppressed] void assert(in boolean condition); |
| 37 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; | 37 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 interface HTMLCanvasElement { | 40 interface HTMLCanvasElement { |
| 41 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Optional=DefaultIsUndefined] in DOMString type) raises(DOMException); | 41 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul
lString,Optional=DefaultIsUndefined] in DOMString type) raises(DOMException); |
| 42 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr
ing,Optional=DefaultIsUndefined] in DOMString type, [Optional] in float quality)
raises(DOMException); | 42 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr
ing,Optional=DefaultIsUndefined] in DOMString type, [Optional] in float quality)
raises(DOMException); |
| 43 | 43 |
| 44 [Suppressed] DOMObject getContext(in DOMString contextId); | 44 [Suppressed] any getContext(in DOMString contextId); |
| 45 [Custom] CanvasRenderingContext getContext(in DOMString contextId, [Optional]
in Dictionary attrs); | 45 [Custom] CanvasRenderingContext getContext(in DOMString contextId, [Optional]
in Dictionary attrs); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 [Supplemental] | 48 [Supplemental] |
| 49 interface HTMLOptionsCollection { | 49 interface HTMLOptionsCollection { |
| 50 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in l
ong before); | 50 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in l
ong before); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 [Supplemental] | 53 [Supplemental] |
| 54 interface HTMLSelectElement { | 54 interface HTMLSelectElement { |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 interface DOMFormData { | 315 interface DOMFormData { |
| 316 [Suppressed] void append(in DOMString name, in DOMString value, in DOMString
filename); | 316 [Suppressed] void append(in DOMString name, in DOMString value, in DOMString
filename); |
| 317 [Custom] void append(in DOMString name, in DOMString value); | 317 [Custom] void append(in DOMString name, in DOMString value); |
| 318 [Custom] void append(in DOMString name, in Blob value, [Optional] in DOMStri
ng filename); | 318 [Custom] void append(in DOMString name, in Blob value, [Optional] in DOMStri
ng filename); |
| 319 }; | 319 }; |
| 320 | 320 |
| 321 [Supplemental] | 321 [Supplemental] |
| 322 interface SQLResultSetRowList { | 322 interface SQLResultSetRowList { |
| 323 // Change the return type to Dictionary so that rows are exposed in the Dart | 323 // Change the return type to Dictionary so that rows are exposed in the Dart |
| 324 // API as a Maps, with the appropriate conversion in JavaScript. | 324 // API as a Maps, with the appropriate conversion in JavaScript. |
| 325 [Suppressed] DOMObject item(in unsigned long index); | 325 [Suppressed] any item(in unsigned long index); |
| 326 [Custom] Dictionary item(in unsigned long index); | 326 [Custom] Dictionary item(in unsigned long index); |
| 327 }; | 327 }; |
| 328 | 328 |
| 329 [Supplemental] | 329 [Supplemental] |
| 330 interface WebSocket { | 330 interface WebSocket { |
| 331 // Suppress the default since it has non-standard return type and add | 331 // Suppress the default since it has non-standard return type and add |
| 332 // overrides. | 332 // overrides. |
| 333 [Suppressed] boolean send(in ArrayBuffer data) raises(DOMException); | 333 [Suppressed] boolean send(in ArrayBuffer data) raises(DOMException); |
| 334 [Suppressed] boolean send(in ArrayBufferView data) raises(DOMException); | 334 [Suppressed] boolean send(in ArrayBufferView data) raises(DOMException); |
| 335 [Suppressed] boolean send(in Blob data) raises(DOMException); | 335 [Suppressed] boolean send(in Blob data) raises(DOMException); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 355 raises(DOMException); | 355 raises(DOMException); |
| 356 [Custom] void send([StrictTypeChecking] in DOMString data) | 356 [Custom] void send([StrictTypeChecking] in DOMString data) |
| 357 raises(DOMException); | 357 raises(DOMException); |
| 358 [Custom] void send(in DOMFormData data) | 358 [Custom] void send(in DOMFormData data) |
| 359 raises(DOMException); | 359 raises(DOMException); |
| 360 }; | 360 }; |
| 361 | 361 |
| 362 | 362 |
| 363 [Suppressed] | 363 [Suppressed] |
| 364 interface Entity {}; | 364 interface Entity {}; |
| OLD | NEW |