OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface Document extends Node, NodeSelector { | |
8 | |
9 final String URL; | |
10 | |
11 final HTMLCollection anchors; | |
12 | |
13 final HTMLCollection applets; | |
14 | |
15 HTMLElement body; | |
16 | |
17 final String characterSet; | |
18 | |
19 String charset; | |
20 | |
21 final String compatMode; | |
22 | |
23 String cookie; | |
24 | |
25 final String defaultCharset; | |
26 | |
27 final DOMWindow defaultView; | |
28 | |
29 final DocumentType doctype; | |
30 | |
31 final Element documentElement; | |
32 | |
33 String documentURI; | |
34 | |
35 String domain; | |
36 | |
37 final HTMLCollection forms; | |
38 | |
39 final HTMLHeadElement head; | |
40 | |
41 final HTMLCollection images; | |
42 | |
43 final DOMImplementation implementation; | |
44 | |
45 final String inputEncoding; | |
46 | |
47 final String lastModified; | |
48 | |
49 final HTMLCollection links; | |
50 | |
51 Location location; | |
52 | |
53 final String preferredStylesheetSet; | |
54 | |
55 final String readyState; | |
56 | |
57 final String referrer; | |
58 | |
59 String selectedStylesheetSet; | |
60 | |
61 final StyleSheetList styleSheets; | |
62 | |
63 String title; | |
64 | |
65 final Element webkitCurrentFullScreenElement; | |
66 | |
67 final bool webkitFullScreenKeyboardInputAllowed; | |
68 | |
69 final bool webkitHidden; | |
70 | |
71 final bool webkitIsFullScreen; | |
72 | |
73 final String webkitVisibilityState; | |
74 | |
75 final String xmlEncoding; | |
76 | |
77 bool xmlStandalone; | |
78 | |
79 String xmlVersion; | |
80 | |
81 Node adoptNode(Node source); | |
82 | |
83 Range caretRangeFromPoint(int x, int y); | |
84 | |
85 Attr createAttribute(String name); | |
86 | |
87 Attr createAttributeNS(String namespaceURI, String qualifiedName); | |
88 | |
89 CDATASection createCDATASection(String data); | |
90 | |
91 Comment createComment(String data); | |
92 | |
93 DocumentFragment createDocumentFragment(); | |
94 | |
95 Element createElement(String tagName); | |
96 | |
97 Element createElementNS(String namespaceURI, String qualifiedName); | |
98 | |
99 EntityReference createEntityReference(String name); | |
100 | |
101 Event createEvent(String eventType); | |
102 | |
103 XPathExpression createExpression(String expression, XPathNSResolver resolver); | |
104 | |
105 XPathNSResolver createNSResolver(Node nodeResolver); | |
106 | |
107 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences); | |
108 | |
109 ProcessingInstruction createProcessingInstruction(String target, String data); | |
110 | |
111 Range createRange(); | |
112 | |
113 Text createTextNode(String data); | |
114 | |
115 Touch createTouch(DOMWindow window, EventTarget target, int identifier, int pa
geX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY,
num webkitRotationAngle, num webkitForce); | |
116 | |
117 TouchList createTouchList(); | |
118 | |
119 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool
expandEntityReferences); | |
120 | |
121 Element elementFromPoint(int x, int y); | |
122 | |
123 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult); | |
124 | |
125 bool execCommand(String command, bool userInterface, String value); | |
126 | |
127 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height); | |
128 | |
129 Element getElementById(String elementId); | |
130 | |
131 NodeList getElementsByClassName(String tagname); | |
132 | |
133 NodeList getElementsByName(String elementName); | |
134 | |
135 NodeList getElementsByTagName(String tagname); | |
136 | |
137 NodeList getElementsByTagNameNS(String namespaceURI, String localName); | |
138 | |
139 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement); | |
140 | |
141 DOMSelection getSelection(); | |
142 | |
143 Node importNode(Node importedNode, [bool deep]); | |
144 | |
145 bool queryCommandEnabled(String command); | |
146 | |
147 bool queryCommandIndeterm(String command); | |
148 | |
149 bool queryCommandState(String command); | |
150 | |
151 bool queryCommandSupported(String command); | |
152 | |
153 String queryCommandValue(String command); | |
154 | |
155 Element querySelector(String selectors); | |
156 | |
157 NodeList querySelectorAll(String selectors); | |
158 | |
159 void webkitCancelFullScreen(); | |
160 | |
161 WebKitNamedFlow webkitGetFlowByName(String name); | |
162 } | |
OLD | NEW |