Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: client/html/generated/src/wrapping/_RangeWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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._wrap(ptr) : super._wrap(ptr) {} 8 RangeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9 9
10 bool get collapsed() { return _ptr.collapsed; } 10 bool get collapsed() { return _ptr.collapsed; }
11 11
12 Node get commonAncestorContainer() { return LevelDom.wrapNode(_ptr.commonAnces torContainer); } 12 Node get commonAncestorContainer() { return LevelDom.wrapNode(_ptr.commonAnces torContainer); }
13 13
14 Node get endContainer() { return LevelDom.wrapNode(_ptr.endContainer); } 14 Node get endContainer() { return LevelDom.wrapNode(_ptr.endContainer); }
15 15
16 int get endOffset() { return _ptr.endOffset; } 16 int get endOffset() { return _ptr.endOffset; }
17 17
18 Node get startContainer() { return LevelDom.wrapNode(_ptr.startContainer); } 18 Node get startContainer() { return LevelDom.wrapNode(_ptr.startContainer); }
19 19
20 int get startOffset() { return _ptr.startOffset; } 20 int get startOffset() { return _ptr.startOffset; }
21 21
22 String get text() { return _ptr.text; }
23
24 DocumentFragment cloneContents() { 22 DocumentFragment cloneContents() {
25 return LevelDom.wrapDocumentFragment(_ptr.cloneContents()); 23 return LevelDom.wrapDocumentFragment(_ptr.cloneContents());
26 } 24 }
27 25
28 Range cloneRange() { 26 Range cloneRange() {
29 return LevelDom.wrapRange(_ptr.cloneRange()); 27 return LevelDom.wrapRange(_ptr.cloneRange());
30 } 28 }
31 29
32 void collapse(bool toStart) { 30 void collapse(bool toStart) {
33 _ptr.collapse(toStart); 31 _ptr.collapse(toStart);
(...skipping 24 matching lines...) Expand all
58 56
59 void expand(String unit) { 57 void expand(String unit) {
60 _ptr.expand(unit); 58 _ptr.expand(unit);
61 return; 59 return;
62 } 60 }
63 61
64 DocumentFragment extractContents() { 62 DocumentFragment extractContents() {
65 return LevelDom.wrapDocumentFragment(_ptr.extractContents()); 63 return LevelDom.wrapDocumentFragment(_ptr.extractContents());
66 } 64 }
67 65
66 ClientRect getBoundingClientRect() {
67 return LevelDom.wrapClientRect(_ptr.getBoundingClientRect());
68 }
69
70 ClientRectList getClientRects() {
71 return LevelDom.wrapClientRectList(_ptr.getClientRects());
72 }
73
68 void insertNode(Node newNode) { 74 void insertNode(Node newNode) {
69 _ptr.insertNode(LevelDom.unwrap(newNode)); 75 _ptr.insertNode(LevelDom.unwrap(newNode));
70 return; 76 return;
71 } 77 }
72 78
73 bool intersectsNode(Node refNode) { 79 bool intersectsNode(Node refNode) {
74 return _ptr.intersectsNode(LevelDom.unwrap(refNode)); 80 return _ptr.intersectsNode(LevelDom.unwrap(refNode));
75 } 81 }
76 82
77 bool isPointInRange(Node refNode, int offset) { 83 bool isPointInRange(Node refNode, int offset) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 126
121 void surroundContents(Node newParent) { 127 void surroundContents(Node newParent) {
122 _ptr.surroundContents(LevelDom.unwrap(newParent)); 128 _ptr.surroundContents(LevelDom.unwrap(newParent));
123 return; 129 return;
124 } 130 }
125 131
126 String toString() { 132 String toString() {
127 return _ptr.toString(); 133 return _ptr.toString();
128 } 134 }
129 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698