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

Side by Side Diff: client/dom/generated/src/frog/DOMSelection.dart

Issue 9271031: Make DOMType the root of DOM implementation types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x Created 8 years, 11 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
1 1
2 class DOMSelectionJS implements DOMSelection native "*DOMSelection" { 2 class DOMSelectionJs extends DOMTypeJs implements DOMSelection native "*DOMSelec tion" {
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, int 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
56 var dartObjectLocalStorage;
57
58 String get typeName() native;
59 } 55 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/DOMPluginArray.dart ('k') | client/dom/generated/src/frog/DOMSettableTokenList.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698