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

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

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class DOMSelectionWrappingImplementation extends DOMWrapperBase implements DOMSe lection {
8 DOMSelectionWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 Node get anchorNode() { return LevelDom.wrapNode(_ptr.anchorNode); }
11
12 int get anchorOffset() { return _ptr.anchorOffset; }
13
14 Node get baseNode() { return LevelDom.wrapNode(_ptr.baseNode); }
15
16 int get baseOffset() { return _ptr.baseOffset; }
17
18 Node get extentNode() { return LevelDom.wrapNode(_ptr.extentNode); }
19
20 int get extentOffset() { return _ptr.extentOffset; }
21
22 Node get focusNode() { return LevelDom.wrapNode(_ptr.focusNode); }
23
24 int get focusOffset() { return _ptr.focusOffset; }
25
26 bool get isCollapsed() { return _ptr.isCollapsed; }
27
28 int get rangeCount() { return _ptr.rangeCount; }
29
30 String get type() { return _ptr.type; }
31
32 void addRange(Range range) {
33 _ptr.addRange(LevelDom.unwrap(range));
34 return;
35 }
36
37 void collapse(Node node, int index) {
38 _ptr.collapse(LevelDom.unwrap(node), index);
39 return;
40 }
41
42 void collapseToEnd() {
43 _ptr.collapseToEnd();
44 return;
45 }
46
47 void collapseToStart() {
48 _ptr.collapseToStart();
49 return;
50 }
51
52 bool containsNode(Node node, bool allowPartial) {
53 return _ptr.containsNode(LevelDom.unwrap(node), allowPartial);
54 }
55
56 void deleteFromDocument() {
57 _ptr.deleteFromDocument();
58 return;
59 }
60
61 void empty() {
62 _ptr.empty();
63 return;
64 }
65
66 void extend(Node node, int offset) {
67 _ptr.extend(LevelDom.unwrap(node), offset);
68 return;
69 }
70
71 Range getRangeAt(int index) {
72 return LevelDom.wrapRange(_ptr.getRangeAt(index));
73 }
74
75 void modify(String alter, String direction, String granularity) {
76 _ptr.modify(alter, direction, granularity);
77 return;
78 }
79
80 void removeAllRanges() {
81 _ptr.removeAllRanges();
82 return;
83 }
84
85 void selectAllChildren(Node node) {
86 _ptr.selectAllChildren(LevelDom.unwrap(node));
87 return;
88 }
89
90 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) {
91 _ptr.setBaseAndExtent(LevelDom.unwrap(baseNode), baseOffset, LevelDom.unwrap (extentNode), extentOffset);
92 return;
93 }
94
95 void setPosition(Node node, int offset) {
96 _ptr.setPosition(LevelDom.unwrap(node), offset);
97 return;
98 }
99
100 String toString() {
101 return _ptr.toString();
102 }
103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698