OLD | NEW |
1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
2 | 2 |
3 [DartSupplemental, | 3 [DartSupplemental, |
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 |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 [DartSuppress] Promise<void> setLocalDescription(RTCSessionDescriptionInit d
escription); | 461 [DartSuppress] Promise<void> setLocalDescription(RTCSessionDescriptionInit d
escription); |
462 [DartSuppress] Promise<void> setRemoteDescription(RTCSessionDescriptionInit
description); | 462 [DartSuppress] Promise<void> setRemoteDescription(RTCSessionDescriptionInit
description); |
463 }; | 463 }; |
464 | 464 |
465 [DartSuppress] | 465 [DartSuppress] |
466 interface DragEvent {}; | 466 interface DragEvent {}; |
467 | 467 |
468 [DartSuppress] | 468 [DartSuppress] |
469 interface InputEvent {}; | 469 interface InputEvent {}; |
470 | 470 |
| 471 [DartSuppress] |
| 472 interface Scale {}; |
| 473 |
471 Element implements GlobalEventHandlers; | 474 Element implements GlobalEventHandlers; |
472 | 475 |
473 | 476 |
474 // This only exists in Safari, and is deprecated there. But include it anyway | 477 // This only exists in Safari, and is deprecated there. But include it anyway |
475 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. | 478 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. |
476 interface CSSCharsetRule : CSSRule { | 479 interface CSSCharsetRule : CSSRule { |
477 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; | 480 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; |
478 }; | 481 }; |
479 | 482 |
480 | 483 |
481 [DartSupplemental] | 484 [DartSupplemental] |
482 interface EventTarget { | 485 interface EventTarget { |
483 [DartSuppress] void addEventListener(DOMString type, EventListener? listener
, optional (EventListenerOptions or boolean) options); | 486 [DartSuppress] void addEventListener(DOMString type, EventListener? listener
, optional (EventListenerOptions or boolean) options); |
484 [DartSuppress] void removeEventListener(DOMString type, EventListener? liste
ner, optional (EventListenerOptions or boolean) options); | 487 [DartSuppress] void removeEventListener(DOMString type, EventListener? liste
ner, optional (EventListenerOptions or boolean) options); |
485 [Custom] void addEventListener(DOMString type, EventListener? listener, opti
onal boolean options); | 488 [Custom] void addEventListener(DOMString type, EventListener? listener, opti
onal boolean options); |
486 [Custom] void removeEventListener(DOMString type, EventListener? listener, o
ptional boolean options); | 489 [Custom] void removeEventListener(DOMString type, EventListener? listener, o
ptional boolean options); |
487 }; | 490 }; |
OLD | NEW |