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

Unified Diff: client/html/generated/html/frog/DOMSelection.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, 10 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/html/generated/html/frog/DOMSelection.dart
diff --git a/client/html/generated/html/frog/DOMSelection.dart b/client/html/generated/html/frog/DOMSelection.dart
new file mode 100644
index 0000000000000000000000000000000000000000..0c26085ea76a103a44b91135ed07360872718758
--- /dev/null
+++ b/client/html/generated/html/frog/DOMSelection.dart
@@ -0,0 +1,55 @@
+
+class _DOMSelectionImpl implements DOMSelection native "*DOMSelection" {
+
+ final _NodeImpl anchorNode;
+
+ final int anchorOffset;
+
+ final _NodeImpl baseNode;
+
+ final int baseOffset;
+
+ final _NodeImpl extentNode;
+
+ final int extentOffset;
+
+ final _NodeImpl focusNode;
+
+ final int focusOffset;
+
+ final bool isCollapsed;
+
+ final int rangeCount;
+
+ final String type;
+
+ void addRange(_RangeImpl range) native;
+
+ void collapse(_NodeImpl node, int index) native;
+
+ void collapseToEnd() native;
+
+ void collapseToStart() native;
+
+ bool containsNode(_NodeImpl node, bool allowPartial) native;
+
+ void deleteFromDocument() native;
+
+ void empty() native;
+
+ void extend(_NodeImpl node, int offset) native;
+
+ _RangeImpl getRangeAt(int index) native;
+
+ void modify(String alter, String direction, String granularity) native;
+
+ void removeAllRanges() native;
+
+ void selectAllChildren(_NodeImpl node) native;
+
+ void setBaseAndExtent(_NodeImpl baseNode, int baseOffset, _NodeImpl extentNode, int extentOffset) native;
+
+ void setPosition(_NodeImpl node, int offset) native;
+
+ String toString() native;
+}

Powered by Google App Engine
This is Rietveld 408576698