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

Side by Side Diff: client/dom/generated/src/frog/Element.dart

Issue 9271031: Make DOMType the root of DOM implementation types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x Created 8 years, 11 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
1 1
2 class ElementJS extends NodeJS implements Element native "*Element" { 2 class ElementJs extends NodeJs implements Element native "*Element" {
3 3
4 static final int ALLOW_KEYBOARD_INPUT = 1; 4 static final int ALLOW_KEYBOARD_INPUT = 1;
5 5
6 int get childElementCount() native "return this.childElementCount;"; 6 int get childElementCount() native "return this.childElementCount;";
7 7
8 int get clientHeight() native "return this.clientHeight;"; 8 int get clientHeight() native "return this.clientHeight;";
9 9
10 int get clientLeft() native "return this.clientLeft;"; 10 int get clientLeft() native "return this.clientLeft;";
11 11
12 int get clientTop() native "return this.clientTop;"; 12 int get clientTop() native "return this.clientTop;";
13 13
14 int get clientWidth() native "return this.clientWidth;"; 14 int get clientWidth() native "return this.clientWidth;";
15 15
16 ElementJS get firstElementChild() native "return this.firstElementChild;"; 16 ElementJs get firstElementChild() native "return this.firstElementChild;";
17 17
18 ElementJS get lastElementChild() native "return this.lastElementChild;"; 18 ElementJs get lastElementChild() native "return this.lastElementChild;";
19 19
20 ElementJS get nextElementSibling() native "return this.nextElementSibling;"; 20 ElementJs get nextElementSibling() native "return this.nextElementSibling;";
21 21
22 int get offsetHeight() native "return this.offsetHeight;"; 22 int get offsetHeight() native "return this.offsetHeight;";
23 23
24 int get offsetLeft() native "return this.offsetLeft;"; 24 int get offsetLeft() native "return this.offsetLeft;";
25 25
26 ElementJS get offsetParent() native "return this.offsetParent;"; 26 ElementJs get offsetParent() native "return this.offsetParent;";
27 27
28 int get offsetTop() native "return this.offsetTop;"; 28 int get offsetTop() native "return this.offsetTop;";
29 29
30 int get offsetWidth() native "return this.offsetWidth;"; 30 int get offsetWidth() native "return this.offsetWidth;";
31 31
32 ElementJS get previousElementSibling() native "return this.previousElementSibl ing;"; 32 ElementJs get previousElementSibling() native "return this.previousElementSibl ing;";
33 33
34 int get scrollHeight() native "return this.scrollHeight;"; 34 int get scrollHeight() native "return this.scrollHeight;";
35 35
36 int get scrollLeft() native "return this.scrollLeft;"; 36 int get scrollLeft() native "return this.scrollLeft;";
37 37
38 void set scrollLeft(int value) native "this.scrollLeft = value;"; 38 void set scrollLeft(int value) native "this.scrollLeft = value;";
39 39
40 int get scrollTop() native "return this.scrollTop;"; 40 int get scrollTop() native "return this.scrollTop;";
41 41
42 void set scrollTop(int value) native "this.scrollTop = value;"; 42 void set scrollTop(int value) native "this.scrollTop = value;";
43 43
44 int get scrollWidth() native "return this.scrollWidth;"; 44 int get scrollWidth() native "return this.scrollWidth;";
45 45
46 CSSStyleDeclarationJS get style() native "return this.style;"; 46 CSSStyleDeclarationJs get style() native "return this.style;";
47 47
48 String get tagName() native "return this.tagName;"; 48 String get tagName() native "return this.tagName;";
49 49
50 void blur() native; 50 void blur() native;
51 51
52 void focus() native; 52 void focus() native;
53 53
54 String getAttribute(String name) native; 54 String getAttribute(String name) native;
55 55
56 String getAttributeNS(String namespaceURI, String localName) native; 56 String getAttributeNS(String namespaceURI, String localName) native;
57 57
58 AttrJS getAttributeNode(String name) native; 58 AttrJs getAttributeNode(String name) native;
59 59
60 AttrJS getAttributeNodeNS(String namespaceURI, String localName) native; 60 AttrJs getAttributeNodeNS(String namespaceURI, String localName) native;
61 61
62 ClientRectJS getBoundingClientRect() native; 62 ClientRectJs getBoundingClientRect() native;
63 63
64 ClientRectListJS getClientRects() native; 64 ClientRectListJs getClientRects() native;
65 65
66 NodeListJS getElementsByClassName(String name) native; 66 NodeListJs getElementsByClassName(String name) native;
67 67
68 NodeListJS getElementsByTagName(String name) native; 68 NodeListJs getElementsByTagName(String name) native;
69 69
70 NodeListJS getElementsByTagNameNS(String namespaceURI, String localName) nativ e; 70 NodeListJs getElementsByTagNameNS(String namespaceURI, String localName) nativ e;
71 71
72 bool hasAttribute(String name) native; 72 bool hasAttribute(String name) native;
73 73
74 bool hasAttributeNS(String namespaceURI, String localName) native; 74 bool hasAttributeNS(String namespaceURI, String localName) native;
75 75
76 ElementJS querySelector(String selectors) native; 76 ElementJs querySelector(String selectors) native;
77 77
78 NodeListJS querySelectorAll(String selectors) native; 78 NodeListJs querySelectorAll(String selectors) native;
79 79
80 void removeAttribute(String name) native; 80 void removeAttribute(String name) native;
81 81
82 void removeAttributeNS(String namespaceURI, String localName) native; 82 void removeAttributeNS(String namespaceURI, String localName) native;
83 83
84 AttrJS removeAttributeNode(AttrJS oldAttr) native; 84 AttrJs removeAttributeNode(AttrJs oldAttr) native;
85 85
86 void scrollByLines(int lines) native; 86 void scrollByLines(int lines) native;
87 87
88 void scrollByPages(int pages) native; 88 void scrollByPages(int pages) native;
89 89
90 void scrollIntoView([bool alignWithTop = null]) native; 90 void scrollIntoView([bool alignWithTop = null]) native;
91 91
92 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; 92 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native;
93 93
94 void setAttribute(String name, String value) native; 94 void setAttribute(String name, String value) native;
95 95
96 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n ative; 96 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n ative;
97 97
98 AttrJS setAttributeNode(AttrJS newAttr) native; 98 AttrJs setAttributeNode(AttrJs newAttr) native;
99 99
100 AttrJS setAttributeNodeNS(AttrJS newAttr) native; 100 AttrJs setAttributeNodeNS(AttrJs newAttr) native;
101 101
102 bool webkitMatchesSelector(String selectors) native; 102 bool webkitMatchesSelector(String selectors) native;
103 103
104 void webkitRequestFullScreen(int flags) native; 104 void webkitRequestFullScreen(int flags) native;
105 } 105 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/DynamicsCompressorNode.dart ('k') | client/dom/generated/src/frog/ElementTimeControl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698