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

Unified 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, 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/HTMLButtonElement.dart
diff --git a/client/dom/generated/src/frog/HTMLButtonElement.dart b/client/dom/generated/src/frog/HTMLButtonElement.dart
index 1c8625a04b737804ad82800ddea50bf13353cb13..77a536c0cc1a0068da65a9e97ba84ec905cd5c89 100644
--- a/client/dom/generated/src/frog/HTMLButtonElement.dart
+++ b/client/dom/generated/src/frog/HTMLButtonElement.dart
@@ -1,53 +1,35 @@
class _HTMLButtonElementJs extends _HTMLElementJs implements HTMLButtonElement native "*HTMLButtonElement" {
- bool get autofocus() native "return this.autofocus;";
+ bool autofocus;
- void set autofocus(bool value) native "this.autofocus = value;";
+ bool disabled;
- bool get disabled() native "return this.disabled;";
+ final _HTMLFormElementJs form;
- void set disabled(bool value) native "this.disabled = value;";
+ String formAction;
- _HTMLFormElementJs get form() native "return this.form;";
+ String formEnctype;
- String get formAction() native "return this.formAction;";
+ String formMethod;
- void set formAction(String value) native "this.formAction = value;";
+ bool formNoValidate;
- String get formEnctype() native "return this.formEnctype;";
+ String formTarget;
- void set formEnctype(String value) native "this.formEnctype = value;";
+ final _NodeListJs labels;
- String get formMethod() native "return this.formMethod;";
+ String name;
- void set formMethod(String value) native "this.formMethod = value;";
+ final String type;
- bool get formNoValidate() native "return this.formNoValidate;";
+ final String validationMessage;
- void set formNoValidate(bool value) native "this.formNoValidate = value;";
+ final _ValidityStateJs validity;
- String get formTarget() native "return this.formTarget;";
+ String value;
- void set formTarget(String value) native "this.formTarget = value;";
-
- _NodeListJs get labels() native "return this.labels;";
-
- String get name() native "return this.name;";
-
- void set name(String value) native "this.name = value;";
-
- String get type() native "return this.type;";
-
- 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;";
-
- bool get willValidate() native "return this.willValidate;";
+ final bool willValidate;
bool checkValidity() native;

Powered by Google App Engine
This is Rietveld 408576698