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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _HTMLElementJs extends _ElementJs implements HTMLElement native "*HTMLElem ent" { 2 class _HTMLElementJs extends _ElementJs implements HTMLElement native "*HTMLElem ent" {
3 3
4 String get accessKey() native "return this.accessKey;"; 4 String accessKey;
5 5
6 void set accessKey(String value) native "this.accessKey = value;"; 6 final _HTMLCollectionJs children;
7 7
8 _HTMLCollectionJs get children() native "return this.children;"; 8 final _DOMTokenListJs classList;
9 9
10 _DOMTokenListJs get classList() native "return this.classList;"; 10 String className;
11 11
12 String get className() native "return this.className;"; 12 String contentEditable;
13 13
14 void set className(String value) native "this.className = value;"; 14 String dir;
15 15
16 String get contentEditable() native "return this.contentEditable;"; 16 bool draggable;
17 17
18 void set contentEditable(String value) native "this.contentEditable = value;"; 18 bool hidden;
19 19
20 String get dir() native "return this.dir;"; 20 String id;
21 21
22 void set dir(String value) native "this.dir = value;"; 22 String innerHTML;
23 23
24 bool get draggable() native "return this.draggable;"; 24 String innerText;
25 25
26 void set draggable(bool value) native "this.draggable = value;"; 26 final bool isContentEditable;
27 27
28 bool get hidden() native "return this.hidden;"; 28 String itemId;
29 29
30 void set hidden(bool value) native "this.hidden = value;"; 30 final _DOMSettableTokenListJs itemProp;
31 31
32 String get id() native "return this.id;"; 32 final _DOMSettableTokenListJs itemRef;
33 33
34 void set id(String value) native "this.id = value;"; 34 bool itemScope;
35 35
36 String get innerHTML() native "return this.innerHTML;"; 36 final _DOMSettableTokenListJs itemType;
37 37
38 void set innerHTML(String value) native "this.innerHTML = value;"; 38 Object itemValue;
39 39
40 String get innerText() native "return this.innerText;"; 40 String lang;
41 41
42 void set innerText(String value) native "this.innerText = value;"; 42 String outerHTML;
43 43
44 bool get isContentEditable() native "return this.isContentEditable;"; 44 String outerText;
45 45
46 String get itemId() native "return this.itemId;"; 46 bool spellcheck;
47 47
48 void set itemId(String value) native "this.itemId = value;"; 48 int tabIndex;
49 49
50 _DOMSettableTokenListJs get itemProp() native "return this.itemProp;"; 50 String title;
51 51
52 _DOMSettableTokenListJs get itemRef() native "return this.itemRef;"; 52 String webkitdropzone;
53
54 bool get itemScope() native "return this.itemScope;";
55
56 void set itemScope(bool value) native "this.itemScope = value;";
57
58 _DOMSettableTokenListJs get itemType() native "return this.itemType;";
59
60 Object get itemValue() native "return this.itemValue;";
61
62 void set itemValue(Object value) native "this.itemValue = value;";
63
64 String get lang() native "return this.lang;";
65
66 void set lang(String value) native "this.lang = value;";
67
68 String get outerHTML() native "return this.outerHTML;";
69
70 void set outerHTML(String value) native "this.outerHTML = value;";
71
72 String get outerText() native "return this.outerText;";
73
74 void set outerText(String value) native "this.outerText = value;";
75
76 bool get spellcheck() native "return this.spellcheck;";
77
78 void set spellcheck(bool value) native "this.spellcheck = value;";
79
80 int get tabIndex() native "return this.tabIndex;";
81
82 void set tabIndex(int value) native "this.tabIndex = value;";
83
84 String get title() native "return this.title;";
85
86 void set title(String value) native "this.title = value;";
87
88 String get webkitdropzone() native "return this.webkitdropzone;";
89
90 void set webkitdropzone(String value) native "this.webkitdropzone = value;";
91 53
92 _ElementJs insertAdjacentElement(String where, _ElementJs element) native; 54 _ElementJs insertAdjacentElement(String where, _ElementJs element) native;
93 55
94 void insertAdjacentHTML(String where, String html) native; 56 void insertAdjacentHTML(String where, String html) native;
95 57
96 void insertAdjacentText(String where, String text) native; 58 void insertAdjacentText(String where, String text) native;
97 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698