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