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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/frog/HTMLInputElement.dart
diff --git a/client/dom/generated/src/frog/HTMLInputElement.dart b/client/dom/generated/src/frog/HTMLInputElement.dart
index 2cd42c438ce17d5f945785662ae93e3e1bf52b95..7f3b10f67fea65ab400f9a353b85c2648363e866 100644
--- a/client/dom/generated/src/frog/HTMLInputElement.dart
+++ b/client/dom/generated/src/frog/HTMLInputElement.dart
@@ -1,181 +1,101 @@
class _HTMLInputElementJs extends _HTMLElementJs implements HTMLInputElement native "*HTMLInputElement" {
- String get accept() native "return this.accept;";
+ String accept;
- void set accept(String value) native "this.accept = value;";
+ String align;
- String get align() native "return this.align;";
+ String alt;
- void set align(String value) native "this.align = value;";
+ String autocomplete;
- String get alt() native "return this.alt;";
+ bool autofocus;
- void set alt(String value) native "this.alt = value;";
+ bool checked;
- String get autocomplete() native "return this.autocomplete;";
+ bool defaultChecked;
- void set autocomplete(String value) native "this.autocomplete = value;";
+ String defaultValue;
- bool get autofocus() native "return this.autofocus;";
+ String dirName;
- void set autofocus(bool value) native "this.autofocus = value;";
+ bool disabled;
- bool get checked() native "return this.checked;";
+ final _FileListJs files;
- void set checked(bool value) native "this.checked = value;";
+ final _HTMLFormElementJs form;
- bool get defaultChecked() native "return this.defaultChecked;";
+ String formAction;
- void set defaultChecked(bool value) native "this.defaultChecked = value;";
+ String formEnctype;
- String get defaultValue() native "return this.defaultValue;";
+ String formMethod;
- void set defaultValue(String value) native "this.defaultValue = value;";
+ bool formNoValidate;
- String get dirName() native "return this.dirName;";
+ String formTarget;
- void set dirName(String value) native "this.dirName = value;";
+ bool incremental;
- bool get disabled() native "return this.disabled;";
+ bool indeterminate;
- void set disabled(bool value) native "this.disabled = value;";
+ final _NodeListJs labels;
- _FileListJs get files() native "return this.files;";
+ final _HTMLElementJs list;
- _HTMLFormElementJs get form() native "return this.form;";
+ String max;
- String get formAction() native "return this.formAction;";
+ int maxLength;
- void set formAction(String value) native "this.formAction = value;";
+ String min;
- String get formEnctype() native "return this.formEnctype;";
+ bool multiple;
- void set formEnctype(String value) native "this.formEnctype = value;";
+ String name;
- String get formMethod() native "return this.formMethod;";
+ String pattern;
- void set formMethod(String value) native "this.formMethod = value;";
+ String placeholder;
- bool get formNoValidate() native "return this.formNoValidate;";
+ bool readOnly;
- void set formNoValidate(bool value) native "this.formNoValidate = value;";
+ bool required;
- String get formTarget() native "return this.formTarget;";
+ final _HTMLOptionElementJs selectedOption;
- void set formTarget(String value) native "this.formTarget = value;";
+ String selectionDirection;
- bool get incremental() native "return this.incremental;";
+ int selectionEnd;
- void set incremental(bool value) native "this.incremental = value;";
+ int selectionStart;
- bool get indeterminate() native "return this.indeterminate;";
+ int size;
- void set indeterminate(bool value) native "this.indeterminate = value;";
+ String src;
- _NodeListJs get labels() native "return this.labels;";
+ String step;
- _HTMLElementJs get list() native "return this.list;";
+ String type;
- String get max() native "return this.max;";
+ String useMap;
- void set max(String value) native "this.max = value;";
+ final String validationMessage;
- int get maxLength() native "return this.maxLength;";
+ final _ValidityStateJs validity;
- void set maxLength(int value) native "this.maxLength = value;";
+ String value;
- String get min() native "return this.min;";
+ Date valueAsDate;
- void set min(String value) native "this.min = value;";
+ num valueAsNumber;
- bool get multiple() native "return this.multiple;";
+ bool webkitGrammar;
- void set multiple(bool value) native "this.multiple = value;";
+ bool webkitSpeech;
- String get name() native "return this.name;";
+ bool webkitdirectory;
- void set name(String value) native "this.name = value;";
-
- String get pattern() native "return this.pattern;";
-
- void set pattern(String value) native "this.pattern = value;";
-
- String get placeholder() native "return this.placeholder;";
-
- void set placeholder(String value) native "this.placeholder = value;";
-
- bool get readOnly() native "return this.readOnly;";
-
- void set readOnly(bool value) native "this.readOnly = value;";
-
- bool get required() native "return this.required;";
-
- void set required(bool value) native "this.required = value;";
-
- _HTMLOptionElementJs get selectedOption() native "return this.selectedOption;";
-
- String get selectionDirection() native "return this.selectionDirection;";
-
- void set selectionDirection(String value) native "this.selectionDirection = value;";
-
- int get selectionEnd() native "return this.selectionEnd;";
-
- void set selectionEnd(int value) native "this.selectionEnd = value;";
-
- int get selectionStart() native "return this.selectionStart;";
-
- void set selectionStart(int value) native "this.selectionStart = value;";
-
- int get size() native "return this.size;";
-
- void set size(int value) native "this.size = value;";
-
- String get src() native "return this.src;";
-
- void set src(String value) native "this.src = value;";
-
- String get step() native "return this.step;";
-
- void set step(String value) native "this.step = value;";
-
- String get type() native "return this.type;";
-
- void set type(String value) native "this.type = value;";
-
- String get useMap() native "return this.useMap;";
-
- void set useMap(String value) native "this.useMap = value;";
-
- String get validationMessage() native "return this.validationMessage;";
-
- _ValidityStateJs get validity() native "return this.validity;";
-
- String get value() native "return this.value;";
-
- void set value(String value) native "this.value = value;";
-
- Date get valueAsDate() native "return this.valueAsDate;";
-
- void set valueAsDate(Date value) native "this.valueAsDate = value;";
-
- num get valueAsNumber() native "return this.valueAsNumber;";
-
- void set valueAsNumber(num value) native "this.valueAsNumber = value;";
-
- bool get webkitGrammar() native "return this.webkitGrammar;";
-
- void set webkitGrammar(bool value) native "this.webkitGrammar = value;";
-
- bool get webkitSpeech() native "return this.webkitSpeech;";
-
- void set webkitSpeech(bool value) native "this.webkitSpeech = value;";
-
- bool get webkitdirectory() native "return this.webkitdirectory;";
-
- void set webkitdirectory(bool value) native "this.webkitdirectory = value;";
-
- bool get willValidate() native "return this.willValidate;";
+ final bool willValidate;
bool checkValidity() native;

Powered by Google App Engine
This is Rietveld 408576698