OLD | NEW |
---|---|
1 | 1 |
2 // This file introduces / supplements and forces Dart declarations. | 2 // This file introduces / supplements and forces Dart declarations. |
3 | 3 |
4 module default { | 4 module default { |
5 FileList implements sequence<File>; | 5 FileList implements sequence<File>; |
6 HTMLCollection implements sequence<Node>; | 6 HTMLCollection implements sequence<Node>; |
7 MediaList implements sequence<DOMString>; | 7 MediaList implements sequence<DOMString>; |
8 NamedNodeMap implements sequence<Node>; | 8 NamedNodeMap implements sequence<Node>; |
9 NodeList implements sequence<Node>; | 9 NodeList implements sequence<Node>; |
10 StyleSheetList implements sequence<StyleSheet>; | 10 StyleSheetList implements sequence<StyleSheet>; |
(...skipping 16 matching lines...) Expand all Loading... | |
27 [Supplemental] | 27 [Supplemental] |
28 interface Document { | 28 interface Document { |
29 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); | 29 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); |
30 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); | 30 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); |
31 }; | 31 }; |
32 | 32 |
33 DOMStringList implements sequence<DOMString>; | 33 DOMStringList implements sequence<DOMString>; |
34 }; | 34 }; |
35 | 35 |
36 module dom { | 36 module dom { |
37 // Force NodeSelector. WebKit defines these operations directly. | |
38 interface NodeSelector { | |
39 Element querySelector(in DOMString selectors); | |
40 NodeList querySelectorAll(in DOMString selectors); | |
41 }; | |
42 Document implements NodeSelector; | |
43 DocumentFragment implements NodeSelector; | |
44 Element implements NodeSelector; | |
45 | |
46 // Force ElementTraversal. WebKit defines these directly. | 37 // Force ElementTraversal. WebKit defines these directly. |
47 interface ElementTraversal { | 38 interface ElementTraversal { |
48 getter attribute unsigned long childElementCount; | 39 getter attribute unsigned long childElementCount; |
49 getter attribute Element firstElementChild; | 40 getter attribute Element firstElementChild; |
50 getter attribute Element lastElementChild; | 41 getter attribute Element lastElementChild; |
51 getter attribute Element nextElementSibling; | 42 getter attribute Element nextElementSibling; |
52 getter attribute Element previousElementSibling; | 43 getter attribute Element previousElementSibling; |
53 }; | 44 }; |
54 Element implements ElementTraversal; | 45 Element implements ElementTraversal; |
55 | 46 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
229 module html { | 220 module html { |
230 [Supplemental, Callback] // Add missing Callback attribute. | 221 [Supplemental, Callback] // Add missing Callback attribute. |
231 interface VoidCallback { | 222 interface VoidCallback { |
232 }; | 223 }; |
233 }; | 224 }; |
234 | 225 |
235 module svg { | 226 module svg { |
236 interface SVGNumber { | 227 interface SVGNumber { |
237 [StrictTypeChecking, Custom] attribute double value; | 228 [StrictTypeChecking, Custom] attribute double value; |
238 }; | 229 }; |
239 } | 230 } |
Anton Muhin
2012/06/05 13:45:27
bad podivilov :)
| |
OLD | NEW |