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