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