| 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 DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMSe
lection { | 7 class DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMSe
lection { |
| 8 DOMSelectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8 DOMSelectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 | 9 |
| 10 Node get anchorNode() { return LevelDom.wrapNode(_ptr.anchorNode); } | 10 Node get anchorNode() { return LevelDom.wrapNode(_ptr.anchorNode); } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) { | 90 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) { |
| 91 _ptr.setBaseAndExtent(LevelDom.unwrap(baseNode), baseOffset, LevelDom.unwrap
(extentNode), extentOffset); | 91 _ptr.setBaseAndExtent(LevelDom.unwrap(baseNode), baseOffset, LevelDom.unwrap
(extentNode), extentOffset); |
| 92 return; | 92 return; |
| 93 } | 93 } |
| 94 | 94 |
| 95 void setPosition(Node node, int offset) { | 95 void setPosition(Node node, int offset) { |
| 96 _ptr.setPosition(LevelDom.unwrap(node), offset); | 96 _ptr.setPosition(LevelDom.unwrap(node), offset); |
| 97 return; | 97 return; |
| 98 } | 98 } |
| 99 |
| 100 String toString() { |
| 101 return _ptr.toString(); |
| 102 } |
| 99 } | 103 } |
| OLD | NEW |