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

Unified Diff: client/html/generated/html/interface/Range.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/Range.dart
diff --git a/client/html/generated/html/interface/Range.dart b/client/html/generated/html/interface/Range.dart
new file mode 100644
index 0000000000000000000000000000000000000000..600145efcdd212c594ee1fecaa10c1f7419782d9
--- /dev/null
+++ b/client/html/generated/html/interface/Range.dart
@@ -0,0 +1,86 @@
+// 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 Range {
+
+ static final int END_TO_END = 2;
+
+ static final int END_TO_START = 3;
+
+ static final int NODE_AFTER = 1;
+
+ static final int NODE_BEFORE = 0;
+
+ static final int NODE_BEFORE_AND_AFTER = 2;
+
+ static final int NODE_INSIDE = 3;
+
+ static final int START_TO_END = 1;
+
+ static final int START_TO_START = 0;
+
+ final bool collapsed;
+
+ final Node commonAncestorContainer;
+
+ final Node endContainer;
+
+ final int endOffset;
+
+ final Node startContainer;
+
+ final int startOffset;
+
+ DocumentFragment cloneContents();
+
+ Range cloneRange();
+
+ void collapse(bool toStart);
+
+ int compareNode(Node refNode);
+
+ int comparePoint(Node refNode, int offset);
+
+ DocumentFragment createContextualFragment(String html);
+
+ void deleteContents();
+
+ void detach();
+
+ void expand(String unit);
+
+ DocumentFragment extractContents();
+
+ ClientRect getBoundingClientRect();
+
+ ClientRectList getClientRects();
+
+ void insertNode(Node newNode);
+
+ bool intersectsNode(Node refNode);
+
+ bool isPointInRange(Node refNode, int offset);
+
+ void selectNode(Node refNode);
+
+ void selectNodeContents(Node refNode);
+
+ void setEnd(Node refNode, int offset);
+
+ void setEndAfter(Node refNode);
+
+ void setEndBefore(Node refNode);
+
+ void setStart(Node refNode, int offset);
+
+ void setStartAfter(Node refNode);
+
+ void setStartBefore(Node refNode);
+
+ void surroundContents(Node newParent);
+
+ String toString();
+}

Powered by Google App Engine
This is Rietveld 408576698