| 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 _NodeWrappingImplementation impl
ements 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 Element getElementById(String elementId) { |
| 18 return _getElementById(this, elementId); |
| 19 } |
| 20 static Element _getElementById(receiver, elementId) native; |
| 21 |
| 22 NodeList getElementsByClassName(String className) { |
| 23 return _getElementsByClassName(this, className); |
| 24 } |
| 25 static NodeList _getElementsByClassName(receiver, className) native; |
| 26 |
| 27 NodeList getElementsByTagName(String tagName) { |
| 28 return _getElementsByTagName(this, tagName); |
| 29 } |
| 30 static NodeList _getElementsByTagName(receiver, tagName) native; |
| 31 |
| 32 NodeList getElementsByTagNameNS(String namespaceURI, String localName) { |
| 33 return _getElementsByTagNameNS(this, namespaceURI, localName); |
| 34 } |
| 35 static NodeList _getElementsByTagNameNS(receiver, namespaceURI, localName) nat
ive; |
| 36 |
| 17 String get typeName() { return "ShadowRoot"; } | 37 String get typeName() { return "ShadowRoot"; } |
| 18 } | 38 } |
| OLD | NEW |