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 |
(...skipping 17 matching lines...) Expand all Loading... |
28 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); | 28 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name
, long width, long height); |
29 [Custom] Element createElement(DOMString tagName); | 29 [Custom] Element createElement(DOMString tagName); |
30 [Custom] Element createElement(DOMString localName, DOMString typeExtension); | 30 [Custom] Element createElement(DOMString localName, DOMString typeExtension); |
31 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me); | 31 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me); |
32 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me, DOMString typeExtension); | 32 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedNa
me, DOMString typeExtension); |
33 }; | 33 }; |
34 | 34 |
35 [Supplemental] | 35 [Supplemental] |
36 interface Node { | 36 interface Node { |
37 [Custom] Node cloneNode([Default=Undefined] optional boolean deep); | 37 [Custom] Node cloneNode([Default=Undefined] optional boolean deep); |
| 38 [Suppressed] readonly attribute Element nextElementSibling; |
| 39 [Suppressed] readonly attribute Element previousElementSibling; |
38 }; | 40 }; |
39 | 41 |
40 [Supplemental] | 42 [Supplemental] |
41 interface ScriptProcessorNode { | 43 interface ScriptProcessorNode { |
42 [Suppressed] attribute EventListener onaudioprocess; | 44 [Suppressed] attribute EventListener onaudioprocess; |
43 [Custom] void _setEventListener(EventListener eventListener); | 45 [Custom] void _setEventListener(EventListener eventListener); |
44 }; | 46 }; |
45 | 47 |
46 /* | 48 /* |
47 // TODO(vsm): How should this interact with the new ChildNode and | 49 // TODO(vsm): How should this interact with the new ChildNode and |
48 // ParentNode interfaces? | 50 // ParentNode interfaces? |
49 // Force ElementTraversal. WebKit defines these directly. | 51 // Force ElementTraversal. WebKit defines these directly. |
50 interface ElementTraversal : ChildNode, ParentNode { | 52 interface ElementTraversal : ChildNode, ParentNode { |
51 readonly attribute unsigned long childElementCount; | 53 readonly attribute unsigned long childElementCount; |
52 readonly attribute Element firstElementChild; | 54 readonly attribute Element firstElementChild; |
53 readonly attribute Element lastElementChild; | 55 readonly attribute Element lastElementChild; |
54 readonly attribute Element nextElementSibling; | 56 readonly attribute Element nextElementSibling; |
55 readonly attribute Element previousElementSibling; | 57 readonly attribute Element previousElementSibling; |
56 }; | 58 }; |
57 Element implements ElementTraversal; | 59 Element implements ElementTraversal; |
58 */ | 60 */ |
59 | 61 |
| 62 [Supplemental] |
| 63 interface Element { |
| 64 readonly attribute Element nextElementSibling; |
| 65 readonly attribute Element previousElementSibling; |
| 66 }; |
| 67 |
| 68 [Supplemental] |
| 69 interface CharacterData { |
| 70 readonly attribute Element nextElementSibling; |
| 71 readonly attribute Element previousElementSibling; |
| 72 }; |
| 73 |
60 [Callback] | 74 [Callback] |
61 interface TimeoutHandler { | 75 interface TimeoutHandler { |
62 void handleEvent(); | 76 void handleEvent(); |
63 }; | 77 }; |
64 | 78 |
65 // FIXME(leafp): This is a temporary hack to get things running while | 79 // FIXME(leafp): This is a temporary hack to get things running while |
66 // we are still generating _blink from the dart side idl files. | 80 // we are still generating _blink from the dart side idl files. |
67 // Once we are up and running generating dart:_blink in dartium | 81 // Once we are up and running generating dart:_blink in dartium |
68 // this should go away. | 82 // this should go away. |
69 [Supplemental] | 83 [Supplemental] |
70 interface URL { | 84 interface URL { |
71 [Suppressed] static DOMString createObjectURL(WebKitMediaSource source); | 85 [Suppressed] static DOMString createObjectURL(WebKitMediaSource source); |
72 }; | 86 }; |
73 | 87 |
74 [Supplemental] | 88 [Supplemental] |
75 interface CanvasRenderingContext2D { | 89 interface CanvasRenderingContext2D { |
76 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im
agedata); | 90 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im
agedata); |
77 | 91 |
| 92 // Removed in 1916. |
| 93 [Suppressed] void drawSystemFocusRing(Element element); |
| 94 |
| 95 [Suppressed] void assert(boolean condition); |
| 96 |
78 [Suppressed] attribute boolean webkitImageSmoothingEnabled; | 97 [Suppressed] attribute boolean webkitImageSmoothingEnabled; |
79 }; | 98 }; |
80 | 99 |
81 [Supplemental] | 100 [Supplemental] |
82 interface ConsoleBase { | 101 interface ConsoleBase { |
83 [Suppressed] void assert(boolean condition); | 102 [Suppressed] void assert(boolean condition); |
84 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; | 103 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; |
85 }; | 104 }; |
86 | 105 |
87 interface HTMLCanvasElement { | 106 interface HTMLCanvasElement { |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 | 362 |
344 [Suppressed] | 363 [Suppressed] |
345 interface TextDecoder {}; | 364 interface TextDecoder {}; |
346 | 365 |
347 [Supplemental] | 366 [Supplemental] |
348 interface Window : EventTarget {}; | 367 interface Window : EventTarget {}; |
349 | 368 |
350 [Suppressed] | 369 [Suppressed] |
351 interface Promise {}; | 370 interface Promise {}; |
352 | 371 |
| 372 [Supplemental] |
| 373 interface Screen { |
| 374 [Suppressed] |
| 375 boolean lockOrientation(sequence<DOMString> orientations); |
| 376 }; |
| 377 |
353 Element implements GlobalEventHandlers; | 378 Element implements GlobalEventHandlers; |
OLD | NEW |