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

Unified Diff: client/html/generated/html/frog/Range.dart

Issue 9403004: Wrapperless dart:html generator (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup 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/Range.dart
diff --git a/client/html/generated/html/frog/Range.dart b/client/html/generated/html/frog/Range.dart
new file mode 100644
index 0000000000000000000000000000000000000000..bf155b847db3d6599f411872d3f2366034591b69
--- /dev/null
+++ b/client/html/generated/html/frog/Range.dart
@@ -0,0 +1,81 @@
+
+class _RangeJs implements Range native "*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 _NodeJs commonAncestorContainer;
+
+ final _NodeJs endContainer;
+
+ final int endOffset;
+
+ final _NodeJs startContainer;
+
+ final int startOffset;
+
+ _DocumentFragmentJs cloneContents() native;
+
+ _RangeJs cloneRange() native;
+
+ void collapse(bool toStart) native;
+
+ int compareNode(_NodeJs refNode) native;
+
+ int comparePoint(_NodeJs refNode, int offset) native;
+
+ _DocumentFragmentJs createContextualFragment(String html) native;
+
+ void deleteContents() native;
+
+ void detach() native;
+
+ void expand(String unit) native;
+
+ _DocumentFragmentJs extractContents() native;
+
+ _ClientRectJs getBoundingClientRect() native;
+
+ _ClientRectListJs getClientRects() native;
+
+ void insertNode(_NodeJs newNode) native;
+
+ bool intersectsNode(_NodeJs refNode) native;
+
+ bool isPointInRange(_NodeJs refNode, int offset) native;
+
+ void selectNode(_NodeJs refNode) native;
+
+ void selectNodeContents(_NodeJs refNode) native;
+
+ void setEnd(_NodeJs refNode, int offset) native;
+
+ void setEndAfter(_NodeJs refNode) native;
+
+ void setEndBefore(_NodeJs refNode) native;
+
+ void setStart(_NodeJs refNode, int offset) native;
+
+ void setStartAfter(_NodeJs refNode) native;
+
+ void setStartBefore(_NodeJs refNode) native;
+
+ void surroundContents(_NodeJs newParent) native;
+
+ String toString() native;
+}

Powered by Google App Engine
This is Rietveld 408576698