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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/frog/DOMSelection.dart
diff --git a/client/dom/generated/src/frog/DOMSelection.dart b/client/dom/generated/src/frog/DOMSelection.dart
index 89620e1f8d9442f74dcba4da2a3d15f1b5589e7f..f39c111dee130cc84296b269363064655af845a8 100644
--- a/client/dom/generated/src/frog/DOMSelection.dart
+++ b/client/dom/generated/src/frog/DOMSelection.dart
@@ -1,19 +1,19 @@
-class DOMSelectionJS implements DOMSelection native "*DOMSelection" {
+class DOMSelectionJs extends DOMTypeJs implements DOMSelection native "*DOMSelection" {
- NodeJS get anchorNode() native "return this.anchorNode;";
+ NodeJs get anchorNode() native "return this.anchorNode;";
int get anchorOffset() native "return this.anchorOffset;";
- NodeJS get baseNode() native "return this.baseNode;";
+ NodeJs get baseNode() native "return this.baseNode;";
int get baseOffset() native "return this.baseOffset;";
- NodeJS get extentNode() native "return this.extentNode;";
+ NodeJs get extentNode() native "return this.extentNode;";
int get extentOffset() native "return this.extentOffset;";
- NodeJS get focusNode() native "return this.focusNode;";
+ NodeJs get focusNode() native "return this.focusNode;";
int get focusOffset() native "return this.focusOffset;";
@@ -23,37 +23,33 @@ class DOMSelectionJS implements DOMSelection native "*DOMSelection" {
String get type() native "return this.type;";
- void addRange(RangeJS range) native;
+ void addRange(RangeJs range) native;
- void collapse(NodeJS node, int index) native;
+ void collapse(NodeJs node, int index) native;
void collapseToEnd() native;
void collapseToStart() native;
- bool containsNode(NodeJS node, bool allowPartial) native;
+ bool containsNode(NodeJs node, bool allowPartial) native;
void deleteFromDocument() native;
void empty() native;
- void extend(NodeJS node, int offset) native;
+ void extend(NodeJs node, int offset) native;
- RangeJS getRangeAt(int index) native;
+ RangeJs getRangeAt(int index) native;
void modify(String alter, String direction, String granularity) native;
void removeAllRanges() native;
- void selectAllChildren(NodeJS node) native;
+ void selectAllChildren(NodeJs node) native;
- void setBaseAndExtent(NodeJS baseNode, int baseOffset, NodeJS extentNode, int extentOffset) native;
+ void setBaseAndExtent(NodeJs baseNode, int baseOffset, NodeJs extentNode, int extentOffset) native;
- void setPosition(NodeJS node, int offset) native;
+ void setPosition(NodeJs node, int offset) native;
String toString() native;
-
- var dartObjectLocalStorage;
-
- String get typeName() native;
}
« 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