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

Side by Side Diff: client/html/generated/src/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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 interface DOMSelection {
8
9 Node get anchorNode();
10
11 int get anchorOffset();
12
13 Node get baseNode();
14
15 int get baseOffset();
16
17 Node get extentNode();
18
19 int get extentOffset();
20
21 Node get focusNode();
22
23 int get focusOffset();
24
25 bool get isCollapsed();
26
27 int get rangeCount();
28
29 String get type();
30
31 void addRange(Range range);
32
33 void collapse(Node node, int index);
34
35 void collapseToEnd();
36
37 void collapseToStart();
38
39 bool containsNode(Node node, bool allowPartial);
40
41 void deleteFromDocument();
42
43 void empty();
44
45 void extend(Node node, int offset);
46
47 Range getRangeAt(int index);
48
49 void modify(String alter, String direction, String granularity);
50
51 void removeAllRanges();
52
53 void selectAllChildren(Node node);
54
55 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset);
56
57 void setPosition(Node node, int offset);
58
59 String toString();
60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698