| 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 interface Selection { | 7 interface Selection { |
| 8 | 8 |
| 9 Node get anchorNode(); | 9 final Node anchorNode; |
| 10 | 10 |
| 11 int get anchorOffset(); | 11 final int anchorOffset; |
| 12 | 12 |
| 13 Node get baseNode(); | 13 final Node baseNode; |
| 14 | 14 |
| 15 int get baseOffset(); | 15 final int baseOffset; |
| 16 | 16 |
| 17 Node get extentNode(); | 17 final Node extentNode; |
| 18 | 18 |
| 19 int get extentOffset(); | 19 final int extentOffset; |
| 20 | 20 |
| 21 Node get focusNode(); | 21 final Node focusNode; |
| 22 | 22 |
| 23 int get focusOffset(); | 23 final int focusOffset; |
| 24 | 24 |
| 25 bool get isCollapsed(); | 25 final bool isCollapsed; |
| 26 | 26 |
| 27 int get rangeCount(); | 27 final int rangeCount; |
| 28 | 28 |
| 29 String get type(); | 29 final String type; |
| 30 | 30 |
| 31 void addRange(Range range); | 31 void addRange(Range range); |
| 32 | 32 |
| 33 void collapse(Node node, int index); | 33 void collapse(Node node, int index); |
| 34 | 34 |
| 35 void collapseToEnd(); | 35 void collapseToEnd(); |
| 36 | 36 |
| 37 void collapseToStart(); | 37 void collapseToStart(); |
| 38 | 38 |
| 39 bool containsNode(Node node, bool allowPartial); | 39 bool containsNode(Node node, bool allowPartial); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 54 | 54 |
| 55 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset); | 55 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset); |
| 56 | 56 |
| 57 void setPosition(Node node, int offset); | 57 void setPosition(Node node, int offset); |
| 58 | 58 |
| 59 String toString(); | 59 String toString(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 interface DOMSelection extends Selection { | 62 interface DOMSelection extends Selection { |
| 63 } | 63 } |
| OLD | NEW |