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

Side by Side Diff: client/dom/generated/src/frog/HTMLInputElement.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 _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement nat ive "*HTMLInputElement" { 2 class _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement nat ive "*HTMLInputElement" {
3 3
4 String get accept() native "return this.accept;"; 4 String accept;
5 5
6 void set accept(String value) native "this.accept = value;"; 6 String align;
7 7
8 String get align() native "return this.align;"; 8 String alt;
9 9
10 void set align(String value) native "this.align = value;"; 10 String autocomplete;
11 11
12 String get alt() native "return this.alt;"; 12 bool autofocus;
13 13
14 void set alt(String value) native "this.alt = value;"; 14 bool checked;
15 15
16 String get autocomplete() native "return this.autocomplete;"; 16 bool defaultChecked;
17 17
18 void set autocomplete(String value) native "this.autocomplete = value;"; 18 String defaultValue;
19 19
20 bool get autofocus() native "return this.autofocus;"; 20 String dirName;
21 21
22 void set autofocus(bool value) native "this.autofocus = value;"; 22 bool disabled;
23 23
24 bool get checked() native "return this.checked;"; 24 final _FileListJs files;
25 25
26 void set checked(bool value) native "this.checked = value;"; 26 final _HTMLFormElementJs form;
27 27
28 bool get defaultChecked() native "return this.defaultChecked;"; 28 String formAction;
29 29
30 void set defaultChecked(bool value) native "this.defaultChecked = value;"; 30 String formEnctype;
31 31
32 String get defaultValue() native "return this.defaultValue;"; 32 String formMethod;
33 33
34 void set defaultValue(String value) native "this.defaultValue = value;"; 34 bool formNoValidate;
35 35
36 String get dirName() native "return this.dirName;"; 36 String formTarget;
37 37
38 void set dirName(String value) native "this.dirName = value;"; 38 bool incremental;
39 39
40 bool get disabled() native "return this.disabled;"; 40 bool indeterminate;
41 41
42 void set disabled(bool value) native "this.disabled = value;"; 42 final _NodeListJs labels;
43 43
44 _FileListJs get files() native "return this.files;"; 44 final _HTMLElementJs list;
45 45
46 _HTMLFormElementJs get form() native "return this.form;"; 46 String max;
47 47
48 String get formAction() native "return this.formAction;"; 48 int maxLength;
49 49
50 void set formAction(String value) native "this.formAction = value;"; 50 String min;
51 51
52 String get formEnctype() native "return this.formEnctype;"; 52 bool multiple;
53 53
54 void set formEnctype(String value) native "this.formEnctype = value;"; 54 String name;
55 55
56 String get formMethod() native "return this.formMethod;"; 56 String pattern;
57 57
58 void set formMethod(String value) native "this.formMethod = value;"; 58 String placeholder;
59 59
60 bool get formNoValidate() native "return this.formNoValidate;"; 60 bool readOnly;
61 61
62 void set formNoValidate(bool value) native "this.formNoValidate = value;"; 62 bool required;
63 63
64 String get formTarget() native "return this.formTarget;"; 64 final _HTMLOptionElementJs selectedOption;
65 65
66 void set formTarget(String value) native "this.formTarget = value;"; 66 String selectionDirection;
67 67
68 bool get incremental() native "return this.incremental;"; 68 int selectionEnd;
69 69
70 void set incremental(bool value) native "this.incremental = value;"; 70 int selectionStart;
71 71
72 bool get indeterminate() native "return this.indeterminate;"; 72 int size;
73 73
74 void set indeterminate(bool value) native "this.indeterminate = value;"; 74 String src;
75 75
76 _NodeListJs get labels() native "return this.labels;"; 76 String step;
77 77
78 _HTMLElementJs get list() native "return this.list;"; 78 String type;
79 79
80 String get max() native "return this.max;"; 80 String useMap;
81 81
82 void set max(String value) native "this.max = value;"; 82 final String validationMessage;
83 83
84 int get maxLength() native "return this.maxLength;"; 84 final _ValidityStateJs validity;
85 85
86 void set maxLength(int value) native "this.maxLength = value;"; 86 String value;
87 87
88 String get min() native "return this.min;"; 88 Date valueAsDate;
89 89
90 void set min(String value) native "this.min = value;"; 90 num valueAsNumber;
91 91
92 bool get multiple() native "return this.multiple;"; 92 bool webkitGrammar;
93 93
94 void set multiple(bool value) native "this.multiple = value;"; 94 bool webkitSpeech;
95 95
96 String get name() native "return this.name;"; 96 bool webkitdirectory;
97 97
98 void set name(String value) native "this.name = value;"; 98 final bool willValidate;
99
100 String get pattern() native "return this.pattern;";
101
102 void set pattern(String value) native "this.pattern = value;";
103
104 String get placeholder() native "return this.placeholder;";
105
106 void set placeholder(String value) native "this.placeholder = value;";
107
108 bool get readOnly() native "return this.readOnly;";
109
110 void set readOnly(bool value) native "this.readOnly = value;";
111
112 bool get required() native "return this.required;";
113
114 void set required(bool value) native "this.required = value;";
115
116 _HTMLOptionElementJs get selectedOption() native "return this.selectedOption;" ;
117
118 String get selectionDirection() native "return this.selectionDirection;";
119
120 void set selectionDirection(String value) native "this.selectionDirection = va lue;";
121
122 int get selectionEnd() native "return this.selectionEnd;";
123
124 void set selectionEnd(int value) native "this.selectionEnd = value;";
125
126 int get selectionStart() native "return this.selectionStart;";
127
128 void set selectionStart(int value) native "this.selectionStart = value;";
129
130 int get size() native "return this.size;";
131
132 void set size(int value) native "this.size = value;";
133
134 String get src() native "return this.src;";
135
136 void set src(String value) native "this.src = value;";
137
138 String get step() native "return this.step;";
139
140 void set step(String value) native "this.step = value;";
141
142 String get type() native "return this.type;";
143
144 void set type(String value) native "this.type = value;";
145
146 String get useMap() native "return this.useMap;";
147
148 void set useMap(String value) native "this.useMap = value;";
149
150 String get validationMessage() native "return this.validationMessage;";
151
152 _ValidityStateJs get validity() native "return this.validity;";
153
154 String get value() native "return this.value;";
155
156 void set value(String value) native "this.value = value;";
157
158 Date get valueAsDate() native "return this.valueAsDate;";
159
160 void set valueAsDate(Date value) native "this.valueAsDate = value;";
161
162 num get valueAsNumber() native "return this.valueAsNumber;";
163
164 void set valueAsNumber(num value) native "this.valueAsNumber = value;";
165
166 bool get webkitGrammar() native "return this.webkitGrammar;";
167
168 void set webkitGrammar(bool value) native "this.webkitGrammar = value;";
169
170 bool get webkitSpeech() native "return this.webkitSpeech;";
171
172 void set webkitSpeech(bool value) native "this.webkitSpeech = value;";
173
174 bool get webkitdirectory() native "return this.webkitdirectory;";
175
176 void set webkitdirectory(bool value) native "this.webkitdirectory = value;";
177
178 bool get willValidate() native "return this.willValidate;";
179 99
180 bool checkValidity() native; 100 bool checkValidity() native;
181 101
182 void click() native; 102 void click() native;
183 103
184 void select() native; 104 void select() native;
185 105
186 void setCustomValidity(String error) native; 106 void setCustomValidity(String error) native;
187 107
188 void setSelectionRange(int start, int end, [String direction = null]) native; 108 void setSelectionRange(int start, int end, [String direction = null]) native;
189 109
190 void stepDown([int n = null]) native; 110 void stepDown([int n = null]) native;
191 111
192 void stepUp([int n = null]) native; 112 void stepUp([int n = null]) native;
193 } 113 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698