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

Unified Diff: client/dom/generated/src/frog/DOMSelection.dart

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 4c05da70ce5dcdb8333b0777cc99a65fe169d794..89620e1f8d9442f74dcba4da2a3d15f1b5589e7f 100644
--- a/client/dom/generated/src/frog/DOMSelection.dart
+++ b/client/dom/generated/src/frog/DOMSelection.dart
@@ -1,19 +1,19 @@
-class DOMSelection native "*DOMSelection" {
+class DOMSelectionJS implements DOMSelection native "*DOMSelection" {
- Node get anchorNode() native "return this.anchorNode;";
+ NodeJS get anchorNode() native "return this.anchorNode;";
int get anchorOffset() native "return this.anchorOffset;";
- Node get baseNode() native "return this.baseNode;";
+ NodeJS get baseNode() native "return this.baseNode;";
int get baseOffset() native "return this.baseOffset;";
- Node get extentNode() native "return this.extentNode;";
+ NodeJS get extentNode() native "return this.extentNode;";
int get extentOffset() native "return this.extentOffset;";
- Node get focusNode() native "return this.focusNode;";
+ NodeJS get focusNode() native "return this.focusNode;";
int get focusOffset() native "return this.focusOffset;";
@@ -23,33 +23,33 @@ class DOMSelection native "*DOMSelection" {
String get type() native "return this.type;";
- void addRange(Range range) native;
+ void addRange(RangeJS range) native;
- void collapse(Node node, int index) native;
+ void collapse(NodeJS node, int index) native;
void collapseToEnd() native;
void collapseToStart() native;
- bool containsNode(Node node, bool allowPartial) native;
+ bool containsNode(NodeJS node, bool allowPartial) native;
void deleteFromDocument() native;
void empty() native;
- void extend(Node node, int offset) native;
+ void extend(NodeJS node, int offset) native;
- Range getRangeAt(int index) native;
+ RangeJS getRangeAt(int index) native;
void modify(String alter, String direction, String granularity) native;
void removeAllRanges() native;
- void selectAllChildren(Node node) native;
+ void selectAllChildren(NodeJS node) native;
- void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset) native;
+ void setBaseAndExtent(NodeJS baseNode, int baseOffset, NodeJS extentNode, int extentOffset) native;
- void setPosition(Node node, int offset) native;
+ void setPosition(NodeJS node, int offset) native;
String toString() 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