| 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 DOMS
election { | 7 class _DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMS
election { |
| 8 _DOMSelectionWrappingImplementation() : super() {} | 8 _DOMSelectionWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DOMSelectionWrappingImplementation() native { | 10 static create__DOMSelectionWrappingImplementation() native { |
| 11 return new _DOMSelectionWrappingImplementation(); | 11 return new _DOMSelectionWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 Node get anchorNode() { return _get__DOMSelection_anchorNode(this); } | 14 Node get anchorNode() { return _get_anchorNode(this); } |
| 15 static Node _get__DOMSelection_anchorNode(var _this) native; | 15 static Node _get_anchorNode(var _this) native; |
| 16 | 16 |
| 17 int get anchorOffset() { return _get__DOMSelection_anchorOffset(this); } | 17 int get anchorOffset() { return _get_anchorOffset(this); } |
| 18 static int _get__DOMSelection_anchorOffset(var _this) native; | 18 static int _get_anchorOffset(var _this) native; |
| 19 | 19 |
| 20 Node get baseNode() { return _get__DOMSelection_baseNode(this); } | 20 Node get baseNode() { return _get_baseNode(this); } |
| 21 static Node _get__DOMSelection_baseNode(var _this) native; | 21 static Node _get_baseNode(var _this) native; |
| 22 | 22 |
| 23 int get baseOffset() { return _get__DOMSelection_baseOffset(this); } | 23 int get baseOffset() { return _get_baseOffset(this); } |
| 24 static int _get__DOMSelection_baseOffset(var _this) native; | 24 static int _get_baseOffset(var _this) native; |
| 25 | 25 |
| 26 Node get extentNode() { return _get__DOMSelection_extentNode(this); } | 26 Node get extentNode() { return _get_extentNode(this); } |
| 27 static Node _get__DOMSelection_extentNode(var _this) native; | 27 static Node _get_extentNode(var _this) native; |
| 28 | 28 |
| 29 int get extentOffset() { return _get__DOMSelection_extentOffset(this); } | 29 int get extentOffset() { return _get_extentOffset(this); } |
| 30 static int _get__DOMSelection_extentOffset(var _this) native; | 30 static int _get_extentOffset(var _this) native; |
| 31 | 31 |
| 32 Node get focusNode() { return _get__DOMSelection_focusNode(this); } | 32 Node get focusNode() { return _get_focusNode(this); } |
| 33 static Node _get__DOMSelection_focusNode(var _this) native; | 33 static Node _get_focusNode(var _this) native; |
| 34 | 34 |
| 35 int get focusOffset() { return _get__DOMSelection_focusOffset(this); } | 35 int get focusOffset() { return _get_focusOffset(this); } |
| 36 static int _get__DOMSelection_focusOffset(var _this) native; | 36 static int _get_focusOffset(var _this) native; |
| 37 | 37 |
| 38 bool get isCollapsed() { return _get__DOMSelection_isCollapsed(this); } | 38 bool get isCollapsed() { return _get_isCollapsed(this); } |
| 39 static bool _get__DOMSelection_isCollapsed(var _this) native; | 39 static bool _get_isCollapsed(var _this) native; |
| 40 | 40 |
| 41 int get rangeCount() { return _get__DOMSelection_rangeCount(this); } | 41 int get rangeCount() { return _get_rangeCount(this); } |
| 42 static int _get__DOMSelection_rangeCount(var _this) native; | 42 static int _get_rangeCount(var _this) native; |
| 43 | 43 |
| 44 String get type() { return _get__DOMSelection_type(this); } | 44 String get type() { return _get_type(this); } |
| 45 static String _get__DOMSelection_type(var _this) native; | 45 static String _get_type(var _this) native; |
| 46 | 46 |
| 47 void addRange(Range range) { | 47 void addRange(Range range) { |
| 48 _addRange(this, range); | 48 _addRange(this, range); |
| 49 return; | 49 return; |
| 50 } | 50 } |
| 51 static void _addRange(receiver, range) native; | 51 static void _addRange(receiver, range) native; |
| 52 | 52 |
| 53 void collapse(Node node, int index) { | 53 void collapse(Node node, int index) { |
| 54 _collapse(this, node, index); | 54 _collapse(this, node, index); |
| 55 return; | 55 return; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 } | 126 } |
| 127 static void _setPosition(receiver, node, offset) native; | 127 static void _setPosition(receiver, node, offset) native; |
| 128 | 128 |
| 129 String toString() { | 129 String toString() { |
| 130 return _toString(this); | 130 return _toString(this); |
| 131 } | 131 } |
| 132 static String _toString(receiver) native; | 132 static String _toString(receiver) native; |
| 133 | 133 |
| 134 String get typeName() { return "DOMSelection"; } | 134 String get typeName() { return "DOMSelection"; } |
| 135 } | 135 } |
| OLD | NEW |