| 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 // TODO(jacobr): use Lists.dart to remove some of the duplicated functionality. | 5 // TODO(jacobr): use Lists.dart to remove some of the duplicated functionality. |
| 6 class _ChildrenElementList implements ElementList { | 6 class _ChildrenElementList implements ElementList { |
| 7 // Raw Element. | 7 // Raw Element. |
| 8 final _element; | 8 final _element; |
| 9 final _childElements; | 9 final _childElements; |
| 10 | 10 |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 dom.window.getComputedStyle(_ptr, pseudoElement)), | 757 dom.window.getComputedStyle(_ptr, pseudoElement)), |
| 758 new Completer<CSSStyleDeclaration>()); | 758 new Completer<CSSStyleDeclaration>()); |
| 759 } | 759 } |
| 760 | 760 |
| 761 ElementEvents get on() { | 761 ElementEvents get on() { |
| 762 if (_on === null) { | 762 if (_on === null) { |
| 763 _on = new ElementEventsImplementation._wrap(_ptr); | 763 _on = new ElementEventsImplementation._wrap(_ptr); |
| 764 } | 764 } |
| 765 return _on; | 765 return _on; |
| 766 } | 766 } |
| 767 |
| 768 Element clone(bool deep) => super.clone(deep); |
| 767 } | 769 } |
| OLD | NEW |