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

Side by Side Diff: client/html/generated/html/frog/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, 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 _RangeImpl implements Range native "*Range" {
3
4 static final int END_TO_END = 2;
5
6 static final int END_TO_START = 3;
7
8 static final int NODE_AFTER = 1;
9
10 static final int NODE_BEFORE = 0;
11
12 static final int NODE_BEFORE_AND_AFTER = 2;
13
14 static final int NODE_INSIDE = 3;
15
16 static final int START_TO_END = 1;
17
18 static final int START_TO_START = 0;
19
20 final bool collapsed;
21
22 final _NodeImpl commonAncestorContainer;
23
24 final _NodeImpl endContainer;
25
26 final int endOffset;
27
28 final _NodeImpl startContainer;
29
30 final int startOffset;
31
32 _DocumentFragmentImpl cloneContents() native;
33
34 _RangeImpl cloneRange() native;
35
36 void collapse(bool toStart) native;
37
38 int compareNode(_NodeImpl refNode) native;
39
40 int comparePoint(_NodeImpl refNode, int offset) native;
41
42 _DocumentFragmentImpl createContextualFragment(String html) native;
43
44 void deleteContents() native;
45
46 void detach() native;
47
48 void expand(String unit) native;
49
50 _DocumentFragmentImpl extractContents() native;
51
52 _ClientRectImpl getBoundingClientRect() native;
53
54 _ClientRectListImpl getClientRects() native;
55
56 void insertNode(_NodeImpl newNode) native;
57
58 bool intersectsNode(_NodeImpl refNode) native;
59
60 bool isPointInRange(_NodeImpl refNode, int offset) native;
61
62 void selectNode(_NodeImpl refNode) native;
63
64 void selectNodeContents(_NodeImpl refNode) native;
65
66 void setEnd(_NodeImpl refNode, int offset) native;
67
68 void setEndAfter(_NodeImpl refNode) native;
69
70 void setEndBefore(_NodeImpl refNode) native;
71
72 void setStart(_NodeImpl refNode, int offset) native;
73
74 void setStartAfter(_NodeImpl refNode) native;
75
76 void setStartBefore(_NodeImpl refNode) native;
77
78 void surroundContents(_NodeImpl newParent) native;
79
80 String toString() native;
81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698