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

Unified Diff: client/html/generated/html/dartium/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/dartium/DOMSelection.dart
diff --git a/client/html/generated/html/dartium/DOMSelection.dart b/client/html/generated/html/dartium/DOMSelection.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b51ab0ae92384845fefe7641fdd6573cf5133db1
--- /dev/null
+++ b/client/html/generated/html/dartium/DOMSelection.dart
@@ -0,0 +1,98 @@
+
+class _DOMSelectionImpl extends _DOMTypeBase implements DOMSelection {
+ _DOMSelectionImpl._wrap(ptr) : super._wrap(ptr);
+
+ Node get anchorNode() => _wrap(_ptr.anchorNode);
+
+ int get anchorOffset() => _wrap(_ptr.anchorOffset);
+
+ Node get baseNode() => _wrap(_ptr.baseNode);
+
+ int get baseOffset() => _wrap(_ptr.baseOffset);
+
+ Node get extentNode() => _wrap(_ptr.extentNode);
+
+ int get extentOffset() => _wrap(_ptr.extentOffset);
+
+ Node get focusNode() => _wrap(_ptr.focusNode);
+
+ int get focusOffset() => _wrap(_ptr.focusOffset);
+
+ bool get isCollapsed() => _wrap(_ptr.isCollapsed);
+
+ int get rangeCount() => _wrap(_ptr.rangeCount);
+
+ String get type() => _wrap(_ptr.type);
+
+ void addRange(Range range) {
+ _ptr.addRange(_unwrap(range));
+ return;
+ }
+
+ void collapse(Node node, int index) {
+ _ptr.collapse(_unwrap(node), _unwrap(index));
+ return;
+ }
+
+ void collapseToEnd() {
+ _ptr.collapseToEnd();
+ return;
+ }
+
+ void collapseToStart() {
+ _ptr.collapseToStart();
+ return;
+ }
+
+ bool containsNode(Node node, bool allowPartial) {
+ return _wrap(_ptr.containsNode(_unwrap(node), _unwrap(allowPartial)));
+ }
+
+ void deleteFromDocument() {
+ _ptr.deleteFromDocument();
+ return;
+ }
+
+ void empty() {
+ _ptr.empty();
+ return;
+ }
+
+ void extend(Node node, int offset) {
+ _ptr.extend(_unwrap(node), _unwrap(offset));
+ return;
+ }
+
+ Range getRangeAt(int index) {
+ return _wrap(_ptr.getRangeAt(_unwrap(index)));
+ }
+
+ void modify(String alter, String direction, String granularity) {
+ _ptr.modify(_unwrap(alter), _unwrap(direction), _unwrap(granularity));
+ return;
+ }
+
+ void removeAllRanges() {
+ _ptr.removeAllRanges();
+ return;
+ }
+
+ void selectAllChildren(Node node) {
+ _ptr.selectAllChildren(_unwrap(node));
+ return;
+ }
+
+ void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int extentOffset) {
+ _ptr.setBaseAndExtent(_unwrap(baseNode), _unwrap(baseOffset), _unwrap(extentNode), _unwrap(extentOffset));
+ return;
+ }
+
+ void setPosition(Node node, int offset) {
+ _ptr.setPosition(_unwrap(node), _unwrap(offset));
+ return;
+ }
+
+ String toString() {
+ return _wrap(_ptr.toString());
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698