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

Unified Diff: client/html/generated/html/interface/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/interface/DOMSelection.dart
diff --git a/client/html/generated/html/interface/DOMSelection.dart b/client/html/generated/html/interface/DOMSelection.dart
new file mode 100644
index 0000000000000000000000000000000000000000..50a86d74457e2901c760ab4554283995756c24ea
--- /dev/null
+++ b/client/html/generated/html/interface/DOMSelection.dart
@@ -0,0 +1,60 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+interface DOMSelection {
+
+ final Node anchorNode;
+
+ final int anchorOffset;
+
+ final Node baseNode;
+
+ final int baseOffset;
+
+ final Node extentNode;
+
+ final int extentOffset;
+
+ final Node focusNode;
+
+ final int focusOffset;
+
+ final bool isCollapsed;
+
+ final int rangeCount;
+
+ final String type;
+
+ void addRange(Range range);
+
+ void collapse(Node node, int index);
+
+ void collapseToEnd();
+
+ void collapseToStart();
+
+ bool containsNode(Node node, bool allowPartial);
+
+ void deleteFromDocument();
+
+ void empty();
+
+ void extend(Node node, int offset);
+
+ Range getRangeAt(int index);
+
+ void modify(String alter, String direction, String granularity);
+
+ void removeAllRanges();
+
+ void selectAllChildren(Node node);
+
+ void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset);
+
+ void setPosition(Node node, int offset);
+
+ String toString();
+}

Powered by Google App Engine
This is Rietveld 408576698