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

Side by Side Diff: client/dom/generated/src/frog/HTMLSelectElement.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 _HTMLSelectElementJs extends _HTMLElementJs implements HTMLSelectElement n ative "*HTMLSelectElement" { 2 class _HTMLSelectElementJs extends _HTMLElementJs implements HTMLSelectElement n ative "*HTMLSelectElement" {
3 3
4 bool get autofocus() native "return this.autofocus;"; 4 bool autofocus;
5 5
6 void set autofocus(bool value) native "this.autofocus = value;"; 6 bool disabled;
7 7
8 bool get disabled() native "return this.disabled;"; 8 final _HTMLFormElementJs form;
9 9
10 void set disabled(bool value) native "this.disabled = value;"; 10 final _NodeListJs labels;
11 11
12 _HTMLFormElementJs get form() native "return this.form;"; 12 int length;
13 13
14 _NodeListJs get labels() native "return this.labels;"; 14 bool multiple;
15 15
16 int get length() native "return this.length;"; 16 String name;
17 17
18 void set length(int value) native "this.length = value;"; 18 final _HTMLOptionsCollectionJs options;
19 19
20 bool get multiple() native "return this.multiple;"; 20 bool required;
21 21
22 void set multiple(bool value) native "this.multiple = value;"; 22 int selectedIndex;
23 23
24 String get name() native "return this.name;"; 24 int size;
25 25
26 void set name(String value) native "this.name = value;"; 26 final String type;
27 27
28 _HTMLOptionsCollectionJs get options() native "return this.options;"; 28 final String validationMessage;
29 29
30 bool get required() native "return this.required;"; 30 final _ValidityStateJs validity;
31 31
32 void set required(bool value) native "this.required = value;"; 32 String value;
33 33
34 int get selectedIndex() native "return this.selectedIndex;"; 34 final bool willValidate;
35
36 void set selectedIndex(int value) native "this.selectedIndex = value;";
37
38 int get size() native "return this.size;";
39
40 void set size(int value) native "this.size = value;";
41
42 String get type() native "return this.type;";
43
44 String get validationMessage() native "return this.validationMessage;";
45
46 _ValidityStateJs get validity() native "return this.validity;";
47
48 String get value() native "return this.value;";
49
50 void set value(String value) native "this.value = value;";
51
52 bool get willValidate() native "return this.willValidate;";
53 35
54 void add(_HTMLElementJs element, _HTMLElementJs before) native; 36 void add(_HTMLElementJs element, _HTMLElementJs before) native;
55 37
56 bool checkValidity() native; 38 bool checkValidity() native;
57 39
58 _NodeJs item(int index) native; 40 _NodeJs item(int index) native;
59 41
60 _NodeJs namedItem(String name) native; 42 _NodeJs namedItem(String name) native;
61 43
62 void remove(var index_OR_option) native; 44 void remove(var index_OR_option) native;
63 45
64 void setCustomValidity(String error) native; 46 void setCustomValidity(String error) native;
65 } 47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698