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

Unified Diff: client/dom/generated/src/frog/HTMLFormElement.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/HTMLFormElement.dart
diff --git a/client/dom/generated/src/frog/HTMLFormElement.dart b/client/dom/generated/src/frog/HTMLFormElement.dart
index 81380fd8dc56413320ab434b8b89427810613e1d..390c353d6d2bef42fe69f274d45e2085a96ae986 100644
--- a/client/dom/generated/src/frog/HTMLFormElement.dart
+++ b/client/dom/generated/src/frog/HTMLFormElement.dart
@@ -1,45 +1,27 @@
class _HTMLFormElementJs extends _HTMLElementJs implements HTMLFormElement native "*HTMLFormElement" {
- String get acceptCharset() native "return this.acceptCharset;";
+ String acceptCharset;
- void set acceptCharset(String value) native "this.acceptCharset = value;";
+ String action;
- String get action() native "return this.action;";
+ String autocomplete;
- void set action(String value) native "this.action = value;";
+ final _HTMLCollectionJs elements;
- String get autocomplete() native "return this.autocomplete;";
+ String encoding;
- void set autocomplete(String value) native "this.autocomplete = value;";
+ String enctype;
- _HTMLCollectionJs get elements() native "return this.elements;";
+ final int length;
- String get encoding() native "return this.encoding;";
+ String method;
- void set encoding(String value) native "this.encoding = value;";
+ String name;
- String get enctype() native "return this.enctype;";
+ bool noValidate;
- void set enctype(String value) native "this.enctype = value;";
-
- int get length() native "return this.length;";
-
- String get method() native "return this.method;";
-
- void set method(String value) native "this.method = value;";
-
- String get name() native "return this.name;";
-
- void set name(String value) native "this.name = value;";
-
- bool get noValidate() native "return this.noValidate;";
-
- void set noValidate(bool value) native "this.noValidate = value;";
-
- String get target() native "return this.target;";
-
- void set target(String value) native "this.target = value;";
+ String target;
bool checkValidity() native;

Powered by Google App Engine
This is Rietveld 408576698