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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 interface InputEvent {}; | 466 interface InputEvent {}; |
467 | 467 |
468 Element implements GlobalEventHandlers; | 468 Element implements GlobalEventHandlers; |
469 | 469 |
470 | 470 |
471 // This only exists in Safari, and is deprecated there. But include it anyway | 471 // This only exists in Safari, and is deprecated there. But include it anyway |
472 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. | 472 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. |
473 interface CSSCharsetRule : CSSRule { | 473 interface CSSCharsetRule : CSSRule { |
474 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; | 474 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; |
475 }; | 475 }; |
| 476 |
| 477 |
| 478 [DartSupplemental] |
| 479 interface EventTarget { |
| 480 [DartSuppress] void addEventListener(DOMString type, EventListener? listener
, optional (EventListenerOptions or boolean) options); |
| 481 [DartSuppress] void removeEventListener(DOMString type, EventListener? liste
ner, optional (EventListenerOptions or boolean) options); |
| 482 [Custom] void addEventListener(DOMString type, EventListener? listener, opti
onal boolean options); |
| 483 [Custom] void removeEventListener(DOMString type, EventListener? listener, o
ptional boolean options); |
| 484 }; |
OLD | NEW |