| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 attribute EventListener onvolumechange; | 133 attribute EventListener onvolumechange; |
| 134 attribute EventListener onwaiting; | 134 attribute EventListener onwaiting; |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 [DartSupplemental] | 137 [DartSupplemental] |
| 138 interface RTCPeerConnection { | 138 interface RTCPeerConnection { |
| 139 [DartSuppress, RaisesException] void addIceCandidate(RTCIceCandidate candidate
); | 139 [DartSuppress, RaisesException] void addIceCandidate(RTCIceCandidate candidate
); |
| 140 }; | 140 }; |
| 141 | 141 |
| 142 [DartSupplemental] | 142 [DartSupplemental] |
| 143 interface WebGL2RenderingContextBase { |
| 144 [DartName=readPixels2] void readPixels(GLint x, GLint y, GLsizei width, GLsi
zei height, GLenum format, GLenum type, GLintptr offset); |
| 145 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint int
ernalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum
type, GLintptr offset); |
| 146 }; |
| 147 |
| 148 [DartSupplemental] |
| 143 interface WebGLContextEvent { | 149 interface WebGLContextEvent { |
| 144 [DartSuppress] void initEvent(optional DOMString eventTypeArg, | 150 [DartSuppress] void initEvent(optional DOMString eventTypeArg, |
| 145 optional boolean canBubbleArg, | 151 optional boolean canBubbleArg, |
| 146 optional boolean cancelableArg, | 152 optional boolean cancelableArg, |
| 147 optional DOMString statusMessageArg); | 153 optional DOMString statusMessageArg); |
| 148 }; | 154 }; |
| 149 | 155 |
| 150 // TODO(vsm): Define new names for these (see b/4436830). | 156 // TODO(vsm): Define new names for these (see b/4436830). |
| 151 [DartSupplemental] | 157 [DartSupplemental] |
| 152 interface IDBCursor { | 158 interface IDBCursor { |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 437 |
| 432 // FIXME: The index argument should not be optional. | 438 // FIXME: The index argument should not be optional. |
| 433 getter Node? item([Default=Undefined] optional unsigned long index); | 439 getter Node? item([Default=Undefined] optional unsigned long index); |
| 434 getter any namedItem(DOMString name); | 440 getter any namedItem(DOMString name); |
| 435 | 441 |
| 436 [DartSuppress] getter Element? item([Default=Undefined] optional unsigned lo
ng index); | 442 [DartSuppress] getter Element? item([Default=Undefined] optional unsigned lo
ng index); |
| 437 [DartSuppress] getter Element? namedItem(DOMString name); | 443 [DartSuppress] getter Element? namedItem(DOMString name); |
| 438 | 444 |
| 439 }; | 445 }; |
| 440 | 446 |
| 447 [DartSupplemental] |
| 448 interface Performance { |
| 449 [DartSuppress] void webkitClearResourceTimings(); |
| 450 [DartSuppress] void webkitSetResourceTimingBufferSize(unsigned long maxSize)
; |
| 451 [DartSuppress] attribute EventHandler onwebkitresourcetimingbufferfull; |
| 452 }; |
| 453 |
| 454 [DartSupplemental] |
| 455 interface CalcLength { |
| 456 [DartName=inch] readonly attribute double? in; |
| 457 }; |
| 458 |
| 459 [DartSupplemental] |
| 460 interface RTCPeerConnection { |
| 461 [DartSuppress] Promise<void> setLocalDescription(RTCSessionDescriptionInit d
escription); |
| 462 [DartSuppress] Promise<void> setRemoteDescription(RTCSessionDescriptionInit
description); |
| 463 }; |
| 464 |
| 465 [DartSuppress] |
| 466 interface DragEvent {}; |
| 467 |
| 468 [DartSuppress] |
| 469 interface InputEvent {}; |
| 470 |
| 441 Element implements GlobalEventHandlers; | 471 Element implements GlobalEventHandlers; |
| 442 | 472 |
| 443 | 473 |
| 444 // 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 |
| 445 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. | 475 // because otherwise iterating CSSRules in Safari can yield unknown JS objects. |
| 446 interface CSSCharsetRule : CSSRule { | 476 interface CSSCharsetRule : CSSRule { |
| 447 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; | 477 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding; |
| 448 }; | 478 }; |
| OLD | NEW |