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

Unified Diff: client/dom/generated/src/frog/HTMLKeygenElement.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/HTMLKeygenElement.dart
diff --git a/client/dom/generated/src/frog/HTMLKeygenElement.dart b/client/dom/generated/src/frog/HTMLKeygenElement.dart
index 55a2ffaf28761f2b20fa20207fff20dcb552da16..b4a2eaaf678870e28fc26505a617870f33ffac88 100644
--- a/client/dom/generated/src/frog/HTMLKeygenElement.dart
+++ b/client/dom/generated/src/frog/HTMLKeygenElement.dart
@@ -1,37 +1,27 @@
class _HTMLKeygenElementJs extends _HTMLElementJs implements HTMLKeygenElement native "*HTMLKeygenElement" {
- bool get autofocus() native "return this.autofocus;";
+ bool autofocus;
- void set autofocus(bool value) native "this.autofocus = value;";
+ String challenge;
- String get challenge() native "return this.challenge;";
+ bool disabled;
- void set challenge(String value) native "this.challenge = value;";
+ final _HTMLFormElementJs form;
- bool get disabled() native "return this.disabled;";
+ String keytype;
- void set disabled(bool value) native "this.disabled = value;";
+ final _NodeListJs labels;
- _HTMLFormElementJs get form() native "return this.form;";
+ String name;
- String get keytype() native "return this.keytype;";
+ final String type;
- void set keytype(String value) native "this.keytype = value;";
+ final String validationMessage;
- _NodeListJs get labels() native "return this.labels;";
+ final _ValidityStateJs validity;
- 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;";
-
- bool get willValidate() native "return this.willValidate;";
+ final bool willValidate;
bool checkValidity() native;

Powered by Google App Engine
This is Rietveld 408576698