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

Side by Side Diff: client/html/generated/html/frog/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
2 class _DOMSelectionImpl implements DOMSelection native "*DOMSelection" {
3
4 final _NodeImpl anchorNode;
5
6 final int anchorOffset;
7
8 final _NodeImpl baseNode;
9
10 final int baseOffset;
11
12 final _NodeImpl extentNode;
13
14 final int extentOffset;
15
16 final _NodeImpl focusNode;
17
18 final int focusOffset;
19
20 final bool isCollapsed;
21
22 final int rangeCount;
23
24 final String type;
25
26 void addRange(_RangeImpl range) native;
27
28 void collapse(_NodeImpl node, int index) native;
29
30 void collapseToEnd() native;
31
32 void collapseToStart() native;
33
34 bool containsNode(_NodeImpl node, bool allowPartial) native;
35
36 void deleteFromDocument() native;
37
38 void empty() native;
39
40 void extend(_NodeImpl node, int offset) native;
41
42 _RangeImpl getRangeAt(int index) native;
43
44 void modify(String alter, String direction, String granularity) native;
45
46 void removeAllRanges() native;
47
48 void selectAllChildren(_NodeImpl node) native;
49
50 void setBaseAndExtent(_NodeImpl baseNode, int baseOffset, _NodeImpl extentNode , int extentOffset) native;
51
52 void setPosition(_NodeImpl node, int offset) native;
53
54 String toString() native;
55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698