| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, 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 class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
ents Document { | |
| 8 _DocumentWrappingImplementation() : super() {} | |
| 9 | |
| 10 static create__DocumentWrappingImplementation() native { | |
| 11 return new _DocumentWrappingImplementation(); | |
| 12 } | |
| 13 | |
| 14 String get URL() { return _get_URL(this); } | |
| 15 static String _get_URL(var _this) native; | |
| 16 | |
| 17 HTMLCollection get anchors() { return _get_anchors(this); } | |
| 18 static HTMLCollection _get_anchors(var _this) native; | |
| 19 | |
| 20 HTMLCollection get applets() { return _get_applets(this); } | |
| 21 static HTMLCollection _get_applets(var _this) native; | |
| 22 | |
| 23 HTMLElement get body() { return _get_body(this); } | |
| 24 static HTMLElement _get_body(var _this) native; | |
| 25 | |
| 26 void set body(HTMLElement value) { _set_body(this, value); } | |
| 27 static void _set_body(var _this, HTMLElement value) native; | |
| 28 | |
| 29 String get characterSet() { return _get_characterSet(this); } | |
| 30 static String _get_characterSet(var _this) native; | |
| 31 | |
| 32 String get charset() { return _get_charset(this); } | |
| 33 static String _get_charset(var _this) native; | |
| 34 | |
| 35 void set charset(String value) { _set_charset(this, value); } | |
| 36 static void _set_charset(var _this, String value) native; | |
| 37 | |
| 38 String get compatMode() { return _get_compatMode(this); } | |
| 39 static String _get_compatMode(var _this) native; | |
| 40 | |
| 41 String get cookie() { return _get_cookie(this); } | |
| 42 static String _get_cookie(var _this) native; | |
| 43 | |
| 44 void set cookie(String value) { _set_cookie(this, value); } | |
| 45 static void _set_cookie(var _this, String value) native; | |
| 46 | |
| 47 String get defaultCharset() { return _get_defaultCharset(this); } | |
| 48 static String _get_defaultCharset(var _this) native; | |
| 49 | |
| 50 DOMWindow get defaultView() { return _get_defaultView(this); } | |
| 51 static DOMWindow _get_defaultView(var _this) native; | |
| 52 | |
| 53 DocumentType get doctype() { return _get_doctype(this); } | |
| 54 static DocumentType _get_doctype(var _this) native; | |
| 55 | |
| 56 Element get documentElement() { return _get_documentElement(this); } | |
| 57 static Element _get_documentElement(var _this) native; | |
| 58 | |
| 59 String get documentURI() { return _get_documentURI(this); } | |
| 60 static String _get_documentURI(var _this) native; | |
| 61 | |
| 62 void set documentURI(String value) { _set_documentURI(this, value); } | |
| 63 static void _set_documentURI(var _this, String value) native; | |
| 64 | |
| 65 String get domain() { return _get_domain(this); } | |
| 66 static String _get_domain(var _this) native; | |
| 67 | |
| 68 void set domain(String value) { _set_domain(this, value); } | |
| 69 static void _set_domain(var _this, String value) native; | |
| 70 | |
| 71 HTMLCollection get forms() { return _get_forms(this); } | |
| 72 static HTMLCollection _get_forms(var _this) native; | |
| 73 | |
| 74 HTMLHeadElement get head() { return _get_head(this); } | |
| 75 static HTMLHeadElement _get_head(var _this) native; | |
| 76 | |
| 77 HTMLCollection get images() { return _get_images(this); } | |
| 78 static HTMLCollection _get_images(var _this) native; | |
| 79 | |
| 80 DOMImplementation get implementation() { return _get_implementation(this); } | |
| 81 static DOMImplementation _get_implementation(var _this) native; | |
| 82 | |
| 83 String get inputEncoding() { return _get_inputEncoding(this); } | |
| 84 static String _get_inputEncoding(var _this) native; | |
| 85 | |
| 86 String get lastModified() { return _get_lastModified(this); } | |
| 87 static String _get_lastModified(var _this) native; | |
| 88 | |
| 89 HTMLCollection get links() { return _get_links(this); } | |
| 90 static HTMLCollection _get_links(var _this) native; | |
| 91 | |
| 92 Location get location() { return _get_location(this); } | |
| 93 static Location _get_location(var _this) native; | |
| 94 | |
| 95 void set location(Location value) { _set_location(this, value); } | |
| 96 static void _set_location(var _this, Location value) native; | |
| 97 | |
| 98 String get preferredStylesheetSet() { return _get_preferredStylesheetSet(this)
; } | |
| 99 static String _get_preferredStylesheetSet(var _this) native; | |
| 100 | |
| 101 String get readyState() { return _get_readyState(this); } | |
| 102 static String _get_readyState(var _this) native; | |
| 103 | |
| 104 String get referrer() { return _get_referrer(this); } | |
| 105 static String _get_referrer(var _this) native; | |
| 106 | |
| 107 String get selectedStylesheetSet() { return _get_selectedStylesheetSet(this);
} | |
| 108 static String _get_selectedStylesheetSet(var _this) native; | |
| 109 | |
| 110 void set selectedStylesheetSet(String value) { _set_selectedStylesheetSet(this
, value); } | |
| 111 static void _set_selectedStylesheetSet(var _this, String value) native; | |
| 112 | |
| 113 StyleSheetList get styleSheets() { return _get_styleSheets(this); } | |
| 114 static StyleSheetList _get_styleSheets(var _this) native; | |
| 115 | |
| 116 String get title() { return _get_title(this); } | |
| 117 static String _get_title(var _this) native; | |
| 118 | |
| 119 void set title(String value) { _set_title(this, value); } | |
| 120 static void _set_title(var _this, String value) native; | |
| 121 | |
| 122 Element get webkitCurrentFullScreenElement() { return _get_webkitCurrentFullSc
reenElement(this); } | |
| 123 static Element _get_webkitCurrentFullScreenElement(var _this) native; | |
| 124 | |
| 125 bool get webkitFullScreenKeyboardInputAllowed() { return _get_webkitFullScreen
KeyboardInputAllowed(this); } | |
| 126 static bool _get_webkitFullScreenKeyboardInputAllowed(var _this) native; | |
| 127 | |
| 128 bool get webkitHidden() { return _get_webkitHidden(this); } | |
| 129 static bool _get_webkitHidden(var _this) native; | |
| 130 | |
| 131 bool get webkitIsFullScreen() { return _get_webkitIsFullScreen(this); } | |
| 132 static bool _get_webkitIsFullScreen(var _this) native; | |
| 133 | |
| 134 String get webkitVisibilityState() { return _get_webkitVisibilityState(this);
} | |
| 135 static String _get_webkitVisibilityState(var _this) native; | |
| 136 | |
| 137 String get xmlEncoding() { return _get_xmlEncoding(this); } | |
| 138 static String _get_xmlEncoding(var _this) native; | |
| 139 | |
| 140 bool get xmlStandalone() { return _get_xmlStandalone(this); } | |
| 141 static bool _get_xmlStandalone(var _this) native; | |
| 142 | |
| 143 void set xmlStandalone(bool value) { _set_xmlStandalone(this, value); } | |
| 144 static void _set_xmlStandalone(var _this, bool value) native; | |
| 145 | |
| 146 String get xmlVersion() { return _get_xmlVersion(this); } | |
| 147 static String _get_xmlVersion(var _this) native; | |
| 148 | |
| 149 void set xmlVersion(String value) { _set_xmlVersion(this, value); } | |
| 150 static void _set_xmlVersion(var _this, String value) native; | |
| 151 | |
| 152 Node adoptNode(Node source) { | |
| 153 return _adoptNode(this, source); | |
| 154 } | |
| 155 static Node _adoptNode(receiver, source) native; | |
| 156 | |
| 157 Range caretRangeFromPoint(int x, int y) { | |
| 158 return _caretRangeFromPoint(this, x, y); | |
| 159 } | |
| 160 static Range _caretRangeFromPoint(receiver, x, y) native; | |
| 161 | |
| 162 Attr createAttribute(String name) { | |
| 163 return _createAttribute(this, name); | |
| 164 } | |
| 165 static Attr _createAttribute(receiver, name) native; | |
| 166 | |
| 167 Attr createAttributeNS(String namespaceURI, String qualifiedName) { | |
| 168 return _createAttributeNS(this, namespaceURI, qualifiedName); | |
| 169 } | |
| 170 static Attr _createAttributeNS(receiver, namespaceURI, qualifiedName) native; | |
| 171 | |
| 172 CDATASection createCDATASection(String data) { | |
| 173 return _createCDATASection(this, data); | |
| 174 } | |
| 175 static CDATASection _createCDATASection(receiver, data) native; | |
| 176 | |
| 177 Comment createComment(String data) { | |
| 178 return _createComment(this, data); | |
| 179 } | |
| 180 static Comment _createComment(receiver, data) native; | |
| 181 | |
| 182 DocumentFragment createDocumentFragment() { | |
| 183 return _createDocumentFragment(this); | |
| 184 } | |
| 185 static DocumentFragment _createDocumentFragment(receiver) native; | |
| 186 | |
| 187 Element createElement(String tagName) { | |
| 188 return _createElement(this, tagName); | |
| 189 } | |
| 190 static Element _createElement(receiver, tagName) native; | |
| 191 | |
| 192 Element createElementNS(String namespaceURI, String qualifiedName) { | |
| 193 return _createElementNS(this, namespaceURI, qualifiedName); | |
| 194 } | |
| 195 static Element _createElementNS(receiver, namespaceURI, qualifiedName) native; | |
| 196 | |
| 197 EntityReference createEntityReference(String name) { | |
| 198 return _createEntityReference(this, name); | |
| 199 } | |
| 200 static EntityReference _createEntityReference(receiver, name) native; | |
| 201 | |
| 202 Event createEvent(String eventType) { | |
| 203 return _createEvent(this, eventType); | |
| 204 } | |
| 205 static Event _createEvent(receiver, eventType) native; | |
| 206 | |
| 207 XPathExpression createExpression(String expression, XPathNSResolver resolver)
{ | |
| 208 return _createExpression(this, expression, resolver); | |
| 209 } | |
| 210 static XPathExpression _createExpression(receiver, expression, resolver) nativ
e; | |
| 211 | |
| 212 XPathNSResolver createNSResolver(Node nodeResolver) { | |
| 213 return _createNSResolver(this, nodeResolver); | |
| 214 } | |
| 215 static XPathNSResolver _createNSResolver(receiver, nodeResolver) native; | |
| 216 | |
| 217 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences) { | |
| 218 return _createNodeIterator(this, root, whatToShow, filter, expandEntityRefer
ences); | |
| 219 } | |
| 220 static NodeIterator _createNodeIterator(receiver, root, whatToShow, filter, ex
pandEntityReferences) native; | |
| 221 | |
| 222 ProcessingInstruction createProcessingInstruction(String target, String data)
{ | |
| 223 return _createProcessingInstruction(this, target, data); | |
| 224 } | |
| 225 static ProcessingInstruction _createProcessingInstruction(receiver, target, da
ta) native; | |
| 226 | |
| 227 Range createRange() { | |
| 228 return _createRange(this); | |
| 229 } | |
| 230 static Range _createRange(receiver) native; | |
| 231 | |
| 232 Text createTextNode(String data) { | |
| 233 return _createTextNode(this, data); | |
| 234 } | |
| 235 static Text _createTextNode(receiver, data) native; | |
| 236 | |
| 237 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) { | |
| 238 return _createTouch(this, window, target, identifier, pageX, pageY, screenX,
screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce); | |
| 239 } | |
| 240 static Touch _createTouch(receiver, window, target, identifier, pageX, pageY,
screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce
) native; | |
| 241 | |
| 242 TouchList createTouchList() { | |
| 243 return _createTouchList(this); | |
| 244 } | |
| 245 static TouchList _createTouchList(receiver) native; | |
| 246 | |
| 247 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool
expandEntityReferences) { | |
| 248 return _createTreeWalker(this, root, whatToShow, filter, expandEntityReferen
ces); | |
| 249 } | |
| 250 static TreeWalker _createTreeWalker(receiver, root, whatToShow, filter, expand
EntityReferences) native; | |
| 251 | |
| 252 Element elementFromPoint(int x, int y) { | |
| 253 return _elementFromPoint(this, x, y); | |
| 254 } | |
| 255 static Element _elementFromPoint(receiver, x, y) native; | |
| 256 | |
| 257 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) { | |
| 258 return _evaluate(this, expression, contextNode, resolver, type, inResult); | |
| 259 } | |
| 260 static XPathResult _evaluate(receiver, expression, contextNode, resolver, type
, inResult) native; | |
| 261 | |
| 262 bool execCommand(String command, bool userInterface, String value) { | |
| 263 return _execCommand(this, command, userInterface, value); | |
| 264 } | |
| 265 static bool _execCommand(receiver, command, userInterface, value) native; | |
| 266 | |
| 267 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, int
width, int height) { | |
| 268 return _getCSSCanvasContext(this, contextId, name, width, height); | |
| 269 } | |
| 270 static CanvasRenderingContext _getCSSCanvasContext(receiver, contextId, name,
width, height) native; | |
| 271 | |
| 272 Element getElementById(String elementId) { | |
| 273 return _getElementById(this, elementId); | |
| 274 } | |
| 275 static Element _getElementById(receiver, elementId) native; | |
| 276 | |
| 277 NodeList getElementsByClassName(String tagname) { | |
| 278 return _getElementsByClassName(this, tagname); | |
| 279 } | |
| 280 static NodeList _getElementsByClassName(receiver, tagname) native; | |
| 281 | |
| 282 NodeList getElementsByName(String elementName) { | |
| 283 return _getElementsByName(this, elementName); | |
| 284 } | |
| 285 static NodeList _getElementsByName(receiver, elementName) native; | |
| 286 | |
| 287 NodeList getElementsByTagName(String tagname) { | |
| 288 return _getElementsByTagName(this, tagname); | |
| 289 } | |
| 290 static NodeList _getElementsByTagName(receiver, tagname) native; | |
| 291 | |
| 292 NodeList getElementsByTagNameNS(String namespaceURI, String localName) { | |
| 293 return _getElementsByTagNameNS(this, namespaceURI, localName); | |
| 294 } | |
| 295 static NodeList _getElementsByTagNameNS(receiver, namespaceURI, localName) nat
ive; | |
| 296 | |
| 297 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) { | |
| 298 return _getOverrideStyle(this, element, pseudoElement); | |
| 299 } | |
| 300 static CSSStyleDeclaration _getOverrideStyle(receiver, element, pseudoElement)
native; | |
| 301 | |
| 302 DOMSelection getSelection() { | |
| 303 return _getSelection(this); | |
| 304 } | |
| 305 static DOMSelection _getSelection(receiver) native; | |
| 306 | |
| 307 Node importNode(Node importedNode, [bool deep = null]) { | |
| 308 if (deep === null) { | |
| 309 return _importNode(this, importedNode); | |
| 310 } else { | |
| 311 return _importNode_2(this, importedNode, deep); | |
| 312 } | |
| 313 } | |
| 314 static Node _importNode(receiver, importedNode) native; | |
| 315 static Node _importNode_2(receiver, importedNode, deep) native; | |
| 316 | |
| 317 bool queryCommandEnabled(String command) { | |
| 318 return _queryCommandEnabled(this, command); | |
| 319 } | |
| 320 static bool _queryCommandEnabled(receiver, command) native; | |
| 321 | |
| 322 bool queryCommandIndeterm(String command) { | |
| 323 return _queryCommandIndeterm(this, command); | |
| 324 } | |
| 325 static bool _queryCommandIndeterm(receiver, command) native; | |
| 326 | |
| 327 bool queryCommandState(String command) { | |
| 328 return _queryCommandState(this, command); | |
| 329 } | |
| 330 static bool _queryCommandState(receiver, command) native; | |
| 331 | |
| 332 bool queryCommandSupported(String command) { | |
| 333 return _queryCommandSupported(this, command); | |
| 334 } | |
| 335 static bool _queryCommandSupported(receiver, command) native; | |
| 336 | |
| 337 String queryCommandValue(String command) { | |
| 338 return _queryCommandValue(this, command); | |
| 339 } | |
| 340 static String _queryCommandValue(receiver, command) native; | |
| 341 | |
| 342 Element querySelector(String selectors) { | |
| 343 return _querySelector(this, selectors); | |
| 344 } | |
| 345 static Element _querySelector(receiver, selectors) native; | |
| 346 | |
| 347 NodeList querySelectorAll(String selectors) { | |
| 348 return _querySelectorAll(this, selectors); | |
| 349 } | |
| 350 static NodeList _querySelectorAll(receiver, selectors) native; | |
| 351 | |
| 352 void webkitCancelFullScreen() { | |
| 353 _webkitCancelFullScreen(this); | |
| 354 return; | |
| 355 } | |
| 356 static void _webkitCancelFullScreen(receiver) native; | |
| 357 | |
| 358 WebKitNamedFlow webkitGetFlowByName(String name) { | |
| 359 return _webkitGetFlowByName(this, name); | |
| 360 } | |
| 361 static WebKitNamedFlow _webkitGetFlowByName(receiver, name) native; | |
| 362 | |
| 363 String get typeName() { return "Document"; } | |
| 364 } | |
| OLD | NEW |