| 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 Range { | 7 interface Range { |
| 8 | 8 |
| 9 static final int END_TO_END = 2; | 9 static final int END_TO_END = 2; |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 Node get commonAncestorContainer(); | 27 Node get commonAncestorContainer(); |
| 28 | 28 |
| 29 Node get endContainer(); | 29 Node get endContainer(); |
| 30 | 30 |
| 31 int get endOffset(); | 31 int get endOffset(); |
| 32 | 32 |
| 33 Node get startContainer(); | 33 Node get startContainer(); |
| 34 | 34 |
| 35 int get startOffset(); | 35 int get startOffset(); |
| 36 | 36 |
| 37 String get text(); | |
| 38 | |
| 39 DocumentFragment cloneContents(); | 37 DocumentFragment cloneContents(); |
| 40 | 38 |
| 41 Range cloneRange(); | 39 Range cloneRange(); |
| 42 | 40 |
| 43 void collapse(bool toStart); | 41 void collapse(bool toStart); |
| 44 | 42 |
| 45 int compareNode(Node refNode); | 43 int compareNode(Node refNode); |
| 46 | 44 |
| 47 int comparePoint(Node refNode, int offset); | 45 int comparePoint(Node refNode, int offset); |
| 48 | 46 |
| 49 DocumentFragment createContextualFragment(String html); | 47 DocumentFragment createContextualFragment(String html); |
| 50 | 48 |
| 51 void deleteContents(); | 49 void deleteContents(); |
| 52 | 50 |
| 53 void detach(); | 51 void detach(); |
| 54 | 52 |
| 55 void expand(String unit); | 53 void expand(String unit); |
| 56 | 54 |
| 57 DocumentFragment extractContents(); | 55 DocumentFragment extractContents(); |
| 58 | 56 |
| 57 ClientRect getBoundingClientRect(); |
| 58 |
| 59 ClientRectList getClientRects(); |
| 60 |
| 59 void insertNode(Node newNode); | 61 void insertNode(Node newNode); |
| 60 | 62 |
| 61 bool intersectsNode(Node refNode); | 63 bool intersectsNode(Node refNode); |
| 62 | 64 |
| 63 bool isPointInRange(Node refNode, int offset); | 65 bool isPointInRange(Node refNode, int offset); |
| 64 | 66 |
| 65 void selectNode(Node refNode); | 67 void selectNode(Node refNode); |
| 66 | 68 |
| 67 void selectNodeContents(Node refNode); | 69 void selectNodeContents(Node refNode); |
| 68 | 70 |
| 69 void setEnd(Node refNode, int offset); | 71 void setEnd(Node refNode, int offset); |
| 70 | 72 |
| 71 void setEndAfter(Node refNode); | 73 void setEndAfter(Node refNode); |
| 72 | 74 |
| 73 void setEndBefore(Node refNode); | 75 void setEndBefore(Node refNode); |
| 74 | 76 |
| 75 void setStart(Node refNode, int offset); | 77 void setStart(Node refNode, int offset); |
| 76 | 78 |
| 77 void setStartAfter(Node refNode); | 79 void setStartAfter(Node refNode); |
| 78 | 80 |
| 79 void setStartBefore(Node refNode); | 81 void setStartBefore(Node refNode); |
| 80 | 82 |
| 81 void surroundContents(Node newParent); | 83 void surroundContents(Node newParent); |
| 82 | 84 |
| 83 String toString(); | 85 String toString(); |
| 84 } | 86 } |
| OLD | NEW |