Chromium Code Reviews| 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. | 37 // Force NodeSelector. WebKit defines these operations directly. |
|
Anton Muhin
2012/06/05 11:41:59
this comment can probably go away now.
podivilov
2012/06/05 11:57:21
NodeSelector here looks pretty confusing... Moved
| |
| 38 interface NodeSelector { | 38 interface NodeSelector { |
| 39 Element querySelector(in DOMString selectors); | 39 Element query(in DOMString selectors); |
| 40 NodeList querySelectorAll(in DOMString selectors); | 40 NodeList queryAll(in DOMString selectors); |
| 41 }; | 41 }; |
| 42 Document implements NodeSelector; | |
| 43 DocumentFragment implements NodeSelector; | |
| 44 Element implements NodeSelector; | |
| 45 | 42 |
| 46 // Force ElementTraversal. WebKit defines these directly. | 43 // Force ElementTraversal. WebKit defines these directly. |
| 47 interface ElementTraversal { | 44 interface ElementTraversal { |
| 48 getter attribute unsigned long childElementCount; | 45 getter attribute unsigned long childElementCount; |
| 49 getter attribute Element firstElementChild; | 46 getter attribute Element firstElementChild; |
| 50 getter attribute Element lastElementChild; | 47 getter attribute Element lastElementChild; |
| 51 getter attribute Element nextElementSibling; | 48 getter attribute Element nextElementSibling; |
| 52 getter attribute Element previousElementSibling; | 49 getter attribute Element previousElementSibling; |
| 53 }; | 50 }; |
| 54 Element implements ElementTraversal; | 51 Element implements ElementTraversal; |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 230 [Supplemental, Callback] // Add missing Callback attribute. | 227 [Supplemental, Callback] // Add missing Callback attribute. |
| 231 interface VoidCallback { | 228 interface VoidCallback { |
| 232 }; | 229 }; |
| 233 }; | 230 }; |
| 234 | 231 |
| 235 module svg { | 232 module svg { |
| 236 interface SVGNumber { | 233 interface SVGNumber { |
| 237 [StrictTypeChecking, Custom] attribute double value; | 234 [StrictTypeChecking, Custom] attribute double value; |
| 238 }; | 235 }; |
| 239 } | 236 } |
| OLD | NEW |