| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
ents Document { | 7 class _DocumentWrappingImplementation extends _NodeWrappingImplementation implem
ents Document { |
| 8 _DocumentWrappingImplementation() : super() {} | 8 _DocumentWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DocumentWrappingImplementation() native { | 10 static create__DocumentWrappingImplementation() native { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 String get documentURI() { return _get__Document_documentURI(this); } | 59 String get documentURI() { return _get__Document_documentURI(this); } |
| 60 static String _get__Document_documentURI(var _this) native; | 60 static String _get__Document_documentURI(var _this) native; |
| 61 | 61 |
| 62 void set documentURI(String value) { _set__Document_documentURI(this, value);
} | 62 void set documentURI(String value) { _set__Document_documentURI(this, value);
} |
| 63 static void _set__Document_documentURI(var _this, String value) native; | 63 static void _set__Document_documentURI(var _this, String value) native; |
| 64 | 64 |
| 65 String get domain() { return _get__Document_domain(this); } | 65 String get domain() { return _get__Document_domain(this); } |
| 66 static String _get__Document_domain(var _this) native; | 66 static String _get__Document_domain(var _this) native; |
| 67 | 67 |
| 68 void set domain(String value) { _set__Document_domain(this, value); } |
| 69 static void _set__Document_domain(var _this, String value) native; |
| 70 |
| 68 HTMLCollection get forms() { return _get__Document_forms(this); } | 71 HTMLCollection get forms() { return _get__Document_forms(this); } |
| 69 static HTMLCollection _get__Document_forms(var _this) native; | 72 static HTMLCollection _get__Document_forms(var _this) native; |
| 70 | 73 |
| 71 HTMLHeadElement get head() { return _get__Document_head(this); } | 74 HTMLHeadElement get head() { return _get__Document_head(this); } |
| 72 static HTMLHeadElement _get__Document_head(var _this) native; | 75 static HTMLHeadElement _get__Document_head(var _this) native; |
| 73 | 76 |
| 74 HTMLCollection get images() { return _get__Document_images(this); } | 77 HTMLCollection get images() { return _get__Document_images(this); } |
| 75 static HTMLCollection _get__Document_images(var _this) native; | 78 static HTMLCollection _get__Document_images(var _this) native; |
| 76 | 79 |
| 77 DOMImplementation get implementation() { return _get__Document_implementation(
this); } | 80 DOMImplementation get implementation() { return _get__Document_implementation(
this); } |
| 78 static DOMImplementation _get__Document_implementation(var _this) native; | 81 static DOMImplementation _get__Document_implementation(var _this) native; |
| 79 | 82 |
| 80 String get inputEncoding() { return _get__Document_inputEncoding(this); } | 83 String get inputEncoding() { return _get__Document_inputEncoding(this); } |
| 81 static String _get__Document_inputEncoding(var _this) native; | 84 static String _get__Document_inputEncoding(var _this) native; |
| 82 | 85 |
| 83 String get lastModified() { return _get__Document_lastModified(this); } | 86 String get lastModified() { return _get__Document_lastModified(this); } |
| 84 static String _get__Document_lastModified(var _this) native; | 87 static String _get__Document_lastModified(var _this) native; |
| 85 | 88 |
| 86 HTMLCollection get links() { return _get__Document_links(this); } | 89 HTMLCollection get links() { return _get__Document_links(this); } |
| 87 static HTMLCollection _get__Document_links(var _this) native; | 90 static HTMLCollection _get__Document_links(var _this) native; |
| 88 | 91 |
| 92 Location get location() { return _get__Document_location(this); } |
| 93 static Location _get__Document_location(var _this) native; |
| 94 |
| 95 void set location(Location value) { _set__Document_location(this, value); } |
| 96 static void _set__Document_location(var _this, Location value) native; |
| 97 |
| 89 EventListener get onabort() { return _get__Document_onabort(this); } | 98 EventListener get onabort() { return _get__Document_onabort(this); } |
| 90 static EventListener _get__Document_onabort(var _this) native; | 99 static EventListener _get__Document_onabort(var _this) native; |
| 91 | 100 |
| 92 void set onabort(EventListener value) { _set__Document_onabort(this, value); } | 101 void set onabort(EventListener value) { _set__Document_onabort(this, value); } |
| 93 static void _set__Document_onabort(var _this, EventListener value) native; | 102 static void _set__Document_onabort(var _this, EventListener value) native; |
| 94 | 103 |
| 95 EventListener get onbeforecopy() { return _get__Document_onbeforecopy(this); } | 104 EventListener get onbeforecopy() { return _get__Document_onbeforecopy(this); } |
| 96 static EventListener _get__Document_onbeforecopy(var _this) native; | 105 static EventListener _get__Document_onbeforecopy(var _this) native; |
| 97 | 106 |
| 98 void set onbeforecopy(EventListener value) { _set__Document_onbeforecopy(this,
value); } | 107 void set onbeforecopy(EventListener value) { _set__Document_onbeforecopy(this,
value); } |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 Attr createAttributeNS(String namespaceURI, String qualifiedName) { | 434 Attr createAttributeNS(String namespaceURI, String qualifiedName) { |
| 426 return _createAttributeNS(this, namespaceURI, qualifiedName); | 435 return _createAttributeNS(this, namespaceURI, qualifiedName); |
| 427 } | 436 } |
| 428 static Attr _createAttributeNS(receiver, namespaceURI, qualifiedName) native; | 437 static Attr _createAttributeNS(receiver, namespaceURI, qualifiedName) native; |
| 429 | 438 |
| 430 CDATASection createCDATASection(String data) { | 439 CDATASection createCDATASection(String data) { |
| 431 return _createCDATASection(this, data); | 440 return _createCDATASection(this, data); |
| 432 } | 441 } |
| 433 static CDATASection _createCDATASection(receiver, data) native; | 442 static CDATASection _createCDATASection(receiver, data) native; |
| 434 | 443 |
| 435 CSSStyleDeclaration createCSSStyleDeclaration() { | |
| 436 return _createCSSStyleDeclaration(this); | |
| 437 } | |
| 438 static CSSStyleDeclaration _createCSSStyleDeclaration(receiver) native; | |
| 439 | |
| 440 Comment createComment(String data) { | 444 Comment createComment(String data) { |
| 441 return _createComment(this, data); | 445 return _createComment(this, data); |
| 442 } | 446 } |
| 443 static Comment _createComment(receiver, data) native; | 447 static Comment _createComment(receiver, data) native; |
| 444 | 448 |
| 445 DocumentFragment createDocumentFragment() { | 449 DocumentFragment createDocumentFragment() { |
| 446 return _createDocumentFragment(this); | 450 return _createDocumentFragment(this); |
| 447 } | 451 } |
| 448 static DocumentFragment _createDocumentFragment(receiver) native; | 452 static DocumentFragment _createDocumentFragment(receiver) native; |
| 449 | 453 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 NodeList getElementsByTagNameNS(String namespaceURI, String localName) { | 549 NodeList getElementsByTagNameNS(String namespaceURI, String localName) { |
| 546 return _getElementsByTagNameNS(this, namespaceURI, localName); | 550 return _getElementsByTagNameNS(this, namespaceURI, localName); |
| 547 } | 551 } |
| 548 static NodeList _getElementsByTagNameNS(receiver, namespaceURI, localName) nat
ive; | 552 static NodeList _getElementsByTagNameNS(receiver, namespaceURI, localName) nat
ive; |
| 549 | 553 |
| 550 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) { | 554 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) { |
| 551 return _getOverrideStyle(this, element, pseudoElement); | 555 return _getOverrideStyle(this, element, pseudoElement); |
| 552 } | 556 } |
| 553 static CSSStyleDeclaration _getOverrideStyle(receiver, element, pseudoElement)
native; | 557 static CSSStyleDeclaration _getOverrideStyle(receiver, element, pseudoElement)
native; |
| 554 | 558 |
| 559 DOMSelection getSelection() { |
| 560 return _getSelection(this); |
| 561 } |
| 562 static DOMSelection _getSelection(receiver) native; |
| 563 |
| 555 Node importNode(Node importedNode, bool deep) { | 564 Node importNode(Node importedNode, bool deep) { |
| 556 return _importNode(this, importedNode, deep); | 565 return _importNode(this, importedNode, deep); |
| 557 } | 566 } |
| 558 static Node _importNode(receiver, importedNode, deep) native; | 567 static Node _importNode(receiver, importedNode, deep) native; |
| 559 | 568 |
| 560 bool queryCommandEnabled(String command) { | 569 bool queryCommandEnabled(String command) { |
| 561 return _queryCommandEnabled(this, command); | 570 return _queryCommandEnabled(this, command); |
| 562 } | 571 } |
| 563 static bool _queryCommandEnabled(receiver, command) native; | 572 static bool _queryCommandEnabled(receiver, command) native; |
| 564 | 573 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 587 } | 596 } |
| 588 static Element _querySelector(receiver, selectors) native; | 597 static Element _querySelector(receiver, selectors) native; |
| 589 | 598 |
| 590 NodeList querySelectorAll(String selectors) { | 599 NodeList querySelectorAll(String selectors) { |
| 591 return _querySelectorAll(this, selectors); | 600 return _querySelectorAll(this, selectors); |
| 592 } | 601 } |
| 593 static NodeList _querySelectorAll(receiver, selectors) native; | 602 static NodeList _querySelectorAll(receiver, selectors) native; |
| 594 | 603 |
| 595 String get typeName() { return "Document"; } | 604 String get typeName() { return "Document"; } |
| 596 } | 605 } |
| OLD | NEW |