| OLD | NEW |
| 1 | 1 |
| 2 class DOMSelectionJs extends DOMTypeJs implements DOMSelection native "*DOMSelec
tion" { | 2 class _DOMSelectionJs extends _DOMTypeJs implements DOMSelection native "*DOMSel
ection" { |
| 3 | 3 |
| 4 NodeJs get anchorNode() native "return this.anchorNode;"; | 4 _NodeJs get anchorNode() native "return this.anchorNode;"; |
| 5 | 5 |
| 6 int get anchorOffset() native "return this.anchorOffset;"; | 6 int get anchorOffset() native "return this.anchorOffset;"; |
| 7 | 7 |
| 8 NodeJs get baseNode() native "return this.baseNode;"; | 8 _NodeJs get baseNode() native "return this.baseNode;"; |
| 9 | 9 |
| 10 int get baseOffset() native "return this.baseOffset;"; | 10 int get baseOffset() native "return this.baseOffset;"; |
| 11 | 11 |
| 12 NodeJs get extentNode() native "return this.extentNode;"; | 12 _NodeJs get extentNode() native "return this.extentNode;"; |
| 13 | 13 |
| 14 int get extentOffset() native "return this.extentOffset;"; | 14 int get extentOffset() native "return this.extentOffset;"; |
| 15 | 15 |
| 16 NodeJs get focusNode() native "return this.focusNode;"; | 16 _NodeJs get focusNode() native "return this.focusNode;"; |
| 17 | 17 |
| 18 int get focusOffset() native "return this.focusOffset;"; | 18 int get focusOffset() native "return this.focusOffset;"; |
| 19 | 19 |
| 20 bool get isCollapsed() native "return this.isCollapsed;"; | 20 bool get isCollapsed() native "return this.isCollapsed;"; |
| 21 | 21 |
| 22 int get rangeCount() native "return this.rangeCount;"; | 22 int get rangeCount() native "return this.rangeCount;"; |
| 23 | 23 |
| 24 String get type() native "return this.type;"; | 24 String get type() native "return this.type;"; |
| 25 | 25 |
| 26 void addRange(RangeJs range) native; | 26 void addRange(_RangeJs range) native; |
| 27 | 27 |
| 28 void collapse(NodeJs node, int index) native; | 28 void collapse(_NodeJs 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(NodeJs node, bool allowPartial) native; | 34 bool containsNode(_NodeJs node, bool allowPartial) native; |
| 35 | 35 |
| 36 void deleteFromDocument() native; | 36 void deleteFromDocument() native; |
| 37 | 37 |
| 38 void empty() native; | 38 void empty() native; |
| 39 | 39 |
| 40 void extend(NodeJs node, int offset) native; | 40 void extend(_NodeJs node, int offset) native; |
| 41 | 41 |
| 42 RangeJs getRangeAt(int index) native; | 42 _RangeJs getRangeAt(int index) native; |
| 43 | 43 |
| 44 void modify(String alter, String direction, String granularity) native; | 44 void modify(String alter, String direction, String granularity) native; |
| 45 | 45 |
| 46 void removeAllRanges() native; | 46 void removeAllRanges() native; |
| 47 | 47 |
| 48 void selectAllChildren(NodeJs node) native; | 48 void selectAllChildren(_NodeJs node) native; |
| 49 | 49 |
| 50 void setBaseAndExtent(NodeJs baseNode, int baseOffset, NodeJs extentNode, int
extentOffset) native; | 50 void setBaseAndExtent(_NodeJs baseNode, int baseOffset, _NodeJs extentNode, in
t extentOffset) native; |
| 51 | 51 |
| 52 void setPosition(NodeJs node, int offset) native; | 52 void setPosition(_NodeJs node, int offset) native; |
| 53 | 53 |
| 54 String toString() native; | 54 String toString() native; |
| 55 } | 55 } |
| OLD | NEW |