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

Side by Side Diff: client/dom/generated/src/frog/HTMLOutputElement.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 _HTMLOutputElementJs extends _HTMLElementJs implements HTMLOutputElement n ative "*HTMLOutputElement" { 2 class _HTMLOutputElementJs extends _HTMLElementJs implements HTMLOutputElement n ative "*HTMLOutputElement" {
3 3
4 String get defaultValue() native "return this.defaultValue;"; 4 String defaultValue;
5 5
6 void set defaultValue(String value) native "this.defaultValue = value;"; 6 final _HTMLFormElementJs form;
7 7
8 _HTMLFormElementJs get form() native "return this.form;"; 8 _DOMSettableTokenListJs htmlFor;
9 9
10 _DOMSettableTokenListJs get htmlFor() native "return this.htmlFor;"; 10 final _NodeListJs labels;
11 11
12 void set htmlFor(_DOMSettableTokenListJs value) native "this.htmlFor = value;" ; 12 String name;
13 13
14 _NodeListJs get labels() native "return this.labels;"; 14 final String type;
15 15
16 String get name() native "return this.name;"; 16 final String validationMessage;
17 17
18 void set name(String value) native "this.name = value;"; 18 final _ValidityStateJs validity;
19 19
20 String get type() native "return this.type;"; 20 String value;
21 21
22 String get validationMessage() native "return this.validationMessage;"; 22 final bool willValidate;
23
24 _ValidityStateJs get validity() native "return this.validity;";
25
26 String get value() native "return this.value;";
27
28 void set value(String value) native "this.value = value;";
29
30 bool get willValidate() native "return this.willValidate;";
31 23
32 bool checkValidity() native; 24 bool checkValidity() native;
33 25
34 void setCustomValidity(String error) native; 26 void setCustomValidity(String error) native;
35 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698