| 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 _RangeWrappingImplementation extends DOMWrapperBase implements Range { | 7 class _RangeWrappingImplementation extends DOMWrapperBase implements Range { |
| 8 _RangeWrappingImplementation() : super() {} | 8 _RangeWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__RangeWrappingImplementation() native { | 10 static create__RangeWrappingImplementation() native { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 | 22 |
| 23 int get endOffset() { return _get__Range_endOffset(this); } | 23 int get endOffset() { return _get__Range_endOffset(this); } |
| 24 static int _get__Range_endOffset(var _this) native; | 24 static int _get__Range_endOffset(var _this) native; |
| 25 | 25 |
| 26 Node get startContainer() { return _get__Range_startContainer(this); } | 26 Node get startContainer() { return _get__Range_startContainer(this); } |
| 27 static Node _get__Range_startContainer(var _this) native; | 27 static Node _get__Range_startContainer(var _this) native; |
| 28 | 28 |
| 29 int get startOffset() { return _get__Range_startOffset(this); } | 29 int get startOffset() { return _get__Range_startOffset(this); } |
| 30 static int _get__Range_startOffset(var _this) native; | 30 static int _get__Range_startOffset(var _this) native; |
| 31 | 31 |
| 32 String get text() { return _get__Range_text(this); } | |
| 33 static String _get__Range_text(var _this) native; | |
| 34 | |
| 35 DocumentFragment cloneContents() { | 32 DocumentFragment cloneContents() { |
| 36 return _cloneContents(this); | 33 return _cloneContents(this); |
| 37 } | 34 } |
| 38 static DocumentFragment _cloneContents(receiver) native; | 35 static DocumentFragment _cloneContents(receiver) native; |
| 39 | 36 |
| 40 Range cloneRange() { | 37 Range cloneRange() { |
| 41 return _cloneRange(this); | 38 return _cloneRange(this); |
| 42 } | 39 } |
| 43 static Range _cloneRange(receiver) native; | 40 static Range _cloneRange(receiver) native; |
| 44 | 41 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 _expand(this, unit); | 76 _expand(this, unit); |
| 80 return; | 77 return; |
| 81 } | 78 } |
| 82 static void _expand(receiver, unit) native; | 79 static void _expand(receiver, unit) native; |
| 83 | 80 |
| 84 DocumentFragment extractContents() { | 81 DocumentFragment extractContents() { |
| 85 return _extractContents(this); | 82 return _extractContents(this); |
| 86 } | 83 } |
| 87 static DocumentFragment _extractContents(receiver) native; | 84 static DocumentFragment _extractContents(receiver) native; |
| 88 | 85 |
| 86 ClientRect getBoundingClientRect() { |
| 87 return _getBoundingClientRect(this); |
| 88 } |
| 89 static ClientRect _getBoundingClientRect(receiver) native; |
| 90 |
| 91 ClientRectList getClientRects() { |
| 92 return _getClientRects(this); |
| 93 } |
| 94 static ClientRectList _getClientRects(receiver) native; |
| 95 |
| 89 void insertNode(Node newNode) { | 96 void insertNode(Node newNode) { |
| 90 _insertNode(this, newNode); | 97 _insertNode(this, newNode); |
| 91 return; | 98 return; |
| 92 } | 99 } |
| 93 static void _insertNode(receiver, newNode) native; | 100 static void _insertNode(receiver, newNode) native; |
| 94 | 101 |
| 95 bool intersectsNode(Node refNode) { | 102 bool intersectsNode(Node refNode) { |
| 96 return _intersectsNode(this, refNode); | 103 return _intersectsNode(this, refNode); |
| 97 } | 104 } |
| 98 static bool _intersectsNode(receiver, refNode) native; | 105 static bool _intersectsNode(receiver, refNode) native; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 163 } |
| 157 static void _surroundContents(receiver, newParent) native; | 164 static void _surroundContents(receiver, newParent) native; |
| 158 | 165 |
| 159 String toString() { | 166 String toString() { |
| 160 return _toString(this); | 167 return _toString(this); |
| 161 } | 168 } |
| 162 static String _toString(receiver) native; | 169 static String _toString(receiver) native; |
| 163 | 170 |
| 164 String get typeName() { return "Range"; } | 171 String get typeName() { return "Range"; } |
| 165 } | 172 } |
| OLD | NEW |