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

Side by Side Diff: client/dom/generated/src/frog/HTMLButtonElement.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 _HTMLButtonElementJs extends _HTMLElementJs implements HTMLButtonElement n ative "*HTMLButtonElement" { 2 class _HTMLButtonElementJs extends _HTMLElementJs implements HTMLButtonElement n ative "*HTMLButtonElement" {
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 String formAction;
11 11
12 _HTMLFormElementJs get form() native "return this.form;"; 12 String formEnctype;
13 13
14 String get formAction() native "return this.formAction;"; 14 String formMethod;
15 15
16 void set formAction(String value) native "this.formAction = value;"; 16 bool formNoValidate;
17 17
18 String get formEnctype() native "return this.formEnctype;"; 18 String formTarget;
19 19
20 void set formEnctype(String value) native "this.formEnctype = value;"; 20 final _NodeListJs labels;
21 21
22 String get formMethod() native "return this.formMethod;"; 22 String name;
23 23
24 void set formMethod(String value) native "this.formMethod = value;"; 24 final String type;
25 25
26 bool get formNoValidate() native "return this.formNoValidate;"; 26 final String validationMessage;
27 27
28 void set formNoValidate(bool value) native "this.formNoValidate = value;"; 28 final _ValidityStateJs validity;
29 29
30 String get formTarget() native "return this.formTarget;"; 30 String value;
31 31
32 void set formTarget(String value) native "this.formTarget = value;"; 32 final bool willValidate;
33
34 _NodeListJs get labels() native "return this.labels;";
35
36 String get name() native "return this.name;";
37
38 void set name(String value) native "this.name = value;";
39
40 String get type() native "return this.type;";
41
42 String get validationMessage() native "return this.validationMessage;";
43
44 _ValidityStateJs get validity() native "return this.validity;";
45
46 String get value() native "return this.value;";
47
48 void set value(String value) native "this.value = value;";
49
50 bool get willValidate() native "return this.willValidate;";
51 33
52 bool checkValidity() native; 34 bool checkValidity() native;
53 35
54 void click() native; 36 void click() native;
55 37
56 void setCustomValidity(String error) native; 38 void setCustomValidity(String error) native;
57 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698