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 // TODO(ager): Auto-generate this custom method when the info about retaining | 6 // TODO(ager): Auto-generate this custom method when the info about retaining |
7 // typed arrays is in the IDL. | 7 // typed arrays is in the IDL. |
8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe
ssCallback, AudioBufferCallback errorCallback); | 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe
ssCallback, AudioBufferCallback errorCallback); |
9 }; | 9 }; |
10 | 10 |
11 [Supplemental] | 11 [Supplemental] |
12 interface WaveShaperNode { | 12 interface WaveShaperNode { |
13 // TODO(ager): Auto-generate this custom method when the info about retaining | 13 // TODO(ager): Auto-generate this custom method when the info about retaining |
14 // typed arrays is in the IDL. | 14 // typed arrays is in the IDL. |
15 [Custom=Setter] attribute Float32Array curve; | 15 [Custom=Setter] attribute Float32Array curve; |
16 }; | 16 }; |
17 | 17 |
18 [Supplemental] | 18 [Supplemental] |
19 interface AudioParam { | 19 interface AudioParam { |
20 // TODO(ager): Auto-generate this custom method when the info about retaining | 20 // TODO(ager): Auto-generate this custom method when the info about retaining |
21 // typed arrays is in the IDL. | 21 // typed arrays is in the IDL. |
22 [Custom] void setValueCurveAtTime(Float32Array values, double time, double dur
ation); | 22 [Custom] void setValueCurveAtTime(Float32Array values, double time, double dur
ation); |
23 }; | 23 }; |
24 | 24 |
25 [Supplemental] | 25 [Supplemental] |
26 interface Clipboard { | |
27 [Suppressed] void setDragImage(HTMLImageElement image, long x, long y); | |
28 [Custom] void setDragImage(Element element, long x, long y); | |
29 }; | |
30 | |
31 [Supplemental] | |
32 interface Document { | 26 interface Document { |
33 [Suppressed] DOMObject getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); | 27 [Suppressed] DOMObject getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); |
34 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); | 28 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); |
35 [Custom] Element createElement(DOMString tagName); | 29 [Custom] Element createElement(DOMString tagName); |
36 [Custom] Element createElement(DOMString localName, DOMString typeExtension); | 30 [Custom] Element createElement(DOMString localName, DOMString typeExtension); |
37 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me); | 31 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me); |
38 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me, DOMString typeExtension); | 32 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me, DOMString typeExtension); |
39 }; | 33 }; |
40 | 34 |
41 [Supplemental] | 35 [Supplemental] |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 }; | 280 }; |
287 | 281 |
288 [Supplemental] | 282 [Supplemental] |
289 interface SQLResultSetRowList { | 283 interface SQLResultSetRowList { |
290 // Change the return type to Dictionary so that rows are exposed in the Dart | 284 // Change the return type to Dictionary so that rows are exposed in the Dart |
291 // API as a Maps, with the appropriate conversion in JavaScript. | 285 // API as a Maps, with the appropriate conversion in JavaScript. |
292 [Suppressed] object item(unsigned long index); | 286 [Suppressed] object item(unsigned long index); |
293 [Custom] Dictionary item(unsigned long index); | 287 [Custom] Dictionary item(unsigned long index); |
294 }; | 288 }; |
295 | 289 |
296 [Supplemental] | |
297 interface WebSocket { | |
298 // Suppress the default since it has non-standard return type and add | |
299 // overrides. | |
300 [Suppressed] boolean send(ArrayBuffer data); | |
301 [Suppressed] boolean send(ArrayBufferView data); | |
302 [Suppressed] boolean send(Blob data); | |
303 [Suppressed] boolean send(DOMString data); | |
304 | |
305 [Custom] void send(DOMString data); | |
306 [Custom] void send(Blob data); | |
307 [Custom] void send(ArrayBuffer data); | |
308 [Custom] void send(ArrayBufferView data); | |
309 }; | |
310 | |
311 [Supplemental, Constructor] | 290 [Supplemental, Constructor] |
312 interface XMLHttpRequest { | 291 interface XMLHttpRequest { |
313 [Custom] void send(); | 292 [Custom] void send(); |
314 [Custom] void send(ArrayBuffer data); // FIXME: this should be eventually dep
recated. | 293 [Custom] void send(ArrayBuffer data); // FIXME: this should be eventually dep
recated. |
315 [Custom] void send(ArrayBufferView data); | 294 [Custom] void send(ArrayBufferView data); |
316 [Custom] void send(Blob data); | 295 [Custom] void send(Blob data); |
317 [Custom] void send(Document data); | 296 [Custom] void send(Document data); |
318 [Custom] void send([StrictTypeChecking] DOMString data); | 297 [Custom] void send([StrictTypeChecking] DOMString data); |
319 [Custom] void send(FormData data); | 298 [Custom] void send(FormData data); |
320 }; | 299 }; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 [Suppressed] | 344 [Suppressed] |
366 interface TextDecoder {}; | 345 interface TextDecoder {}; |
367 | 346 |
368 [Supplemental] | 347 [Supplemental] |
369 interface Window : EventTarget {}; | 348 interface Window : EventTarget {}; |
370 | 349 |
371 [Suppressed] | 350 [Suppressed] |
372 interface Promise {}; | 351 interface Promise {}; |
373 | 352 |
374 Element implements GlobalEventHandlers; | 353 Element implements GlobalEventHandlers; |
OLD | NEW |