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 _ShadowRootWrappingImplementation extends _DocumentFragmentWrappingImpleme
ntation implements ShadowRoot { | 7 class _ShadowRootWrappingImplementation extends _DocumentFragmentWrappingImpleme
ntation implements ShadowRoot { |
8 _ShadowRootWrappingImplementation() : super() {} | 8 _ShadowRootWrappingImplementation() : super() {} |
9 | 9 |
10 static create__ShadowRootWrappingImplementation() native { | 10 static create__ShadowRootWrappingImplementation() native { |
11 return new _ShadowRootWrappingImplementation(); | 11 return new _ShadowRootWrappingImplementation(); |
12 } | 12 } |
13 | 13 |
14 Element get host() { return _get_host(this); } | 14 Element get host() { return _get_host(this); } |
15 static Element _get_host(var _this) native; | 15 static Element _get_host(var _this) native; |
16 | 16 |
| 17 String get innerHTML() { return _get_innerHTML(this); } |
| 18 static String _get_innerHTML(var _this) native; |
| 19 |
| 20 void set innerHTML(String value) { _set_innerHTML(this, value); } |
| 21 static void _set_innerHTML(var _this, String value) native; |
| 22 |
17 Element getElementById(String elementId) { | 23 Element getElementById(String elementId) { |
18 return _getElementById(this, elementId); | 24 return _getElementById(this, elementId); |
19 } | 25 } |
20 static Element _getElementById(receiver, elementId) native; | 26 static Element _getElementById(receiver, elementId) native; |
21 | 27 |
22 NodeList getElementsByClassName(String className) { | 28 NodeList getElementsByClassName(String className) { |
23 return _getElementsByClassName(this, className); | 29 return _getElementsByClassName(this, className); |
24 } | 30 } |
25 static NodeList _getElementsByClassName(receiver, className) native; | 31 static NodeList _getElementsByClassName(receiver, className) native; |
26 | 32 |
27 NodeList getElementsByTagName(String tagName) { | 33 NodeList getElementsByTagName(String tagName) { |
28 return _getElementsByTagName(this, tagName); | 34 return _getElementsByTagName(this, tagName); |
29 } | 35 } |
30 static NodeList _getElementsByTagName(receiver, tagName) native; | 36 static NodeList _getElementsByTagName(receiver, tagName) native; |
31 | 37 |
32 NodeList getElementsByTagNameNS(String namespaceURI, String localName) { | 38 NodeList getElementsByTagNameNS(String namespaceURI, String localName) { |
33 return _getElementsByTagNameNS(this, namespaceURI, localName); | 39 return _getElementsByTagNameNS(this, namespaceURI, localName); |
34 } | 40 } |
35 static NodeList _getElementsByTagNameNS(receiver, namespaceURI, localName) nat
ive; | 41 static NodeList _getElementsByTagNameNS(receiver, namespaceURI, localName) nat
ive; |
36 | 42 |
37 String get typeName() { return "ShadowRoot"; } | 43 String get typeName() { return "ShadowRoot"; } |
38 } | 44 } |
OLD | NEW |