| OLD | NEW |
| 1 | 1 |
| 2 class DOMSelection native "*DOMSelection" { | 2 class DOMSelection native "*DOMSelection" { |
| 3 | 3 |
| 4 Node anchorNode; | 4 Node get anchorNode() native "return this.anchorNode;"; |
| 5 | 5 |
| 6 int anchorOffset; | 6 int get anchorOffset() native "return this.anchorOffset;"; |
| 7 | 7 |
| 8 Node baseNode; | 8 Node get baseNode() native "return this.baseNode;"; |
| 9 | 9 |
| 10 int baseOffset; | 10 int get baseOffset() native "return this.baseOffset;"; |
| 11 | 11 |
| 12 Node extentNode; | 12 Node get extentNode() native "return this.extentNode;"; |
| 13 | 13 |
| 14 int extentOffset; | 14 int get extentOffset() native "return this.extentOffset;"; |
| 15 | 15 |
| 16 Node focusNode; | 16 Node get focusNode() native "return this.focusNode;"; |
| 17 | 17 |
| 18 int focusOffset; | 18 int get focusOffset() native "return this.focusOffset;"; |
| 19 | 19 |
| 20 bool isCollapsed; | 20 bool get isCollapsed() native "return this.isCollapsed;"; |
| 21 | 21 |
| 22 int rangeCount; | 22 int get rangeCount() native "return this.rangeCount;"; |
| 23 | 23 |
| 24 String type; | 24 String get type() native "return this.type;"; |
| 25 | 25 |
| 26 void addRange(Range range) native; | 26 void addRange(Range range) native; |
| 27 | 27 |
| 28 void collapse(Node node, int index) native; | 28 void collapse(Node node, int index) native; |
| 29 | 29 |
| 30 void collapseToEnd() native; | 30 void collapseToEnd() native; |
| 31 | 31 |
| 32 void collapseToStart() native; | 32 void collapseToStart() native; |
| 33 | 33 |
| 34 bool containsNode(Node node, bool allowPartial) native; | 34 bool containsNode(Node node, bool allowPartial) native; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 50 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; | 50 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; |
| 51 | 51 |
| 52 void setPosition(Node node, int offset) native; | 52 void setPosition(Node node, int offset) native; |
| 53 | 53 |
| 54 String toString() native; | 54 String toString() native; |
| 55 | 55 |
| 56 var dartObjectLocalStorage; | 56 var dartObjectLocalStorage; |
| 57 | 57 |
| 58 String get typeName() native; | 58 String get typeName() native; |
| 59 } | 59 } |
| OLD | NEW |