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

Side by Side 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, 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 _HTMLFormElementJs extends _HTMLElementJs implements HTMLFormElement nativ e "*HTMLFormElement" { 2 class _HTMLFormElementJs extends _HTMLElementJs implements HTMLFormElement nativ e "*HTMLFormElement" {
3 3
4 String get acceptCharset() native "return this.acceptCharset;"; 4 String acceptCharset;
5 5
6 void set acceptCharset(String value) native "this.acceptCharset = value;"; 6 String action;
7 7
8 String get action() native "return this.action;"; 8 String autocomplete;
9 9
10 void set action(String value) native "this.action = value;"; 10 final _HTMLCollectionJs elements;
11 11
12 String get autocomplete() native "return this.autocomplete;"; 12 String encoding;
13 13
14 void set autocomplete(String value) native "this.autocomplete = value;"; 14 String enctype;
15 15
16 _HTMLCollectionJs get elements() native "return this.elements;"; 16 final int length;
17 17
18 String get encoding() native "return this.encoding;"; 18 String method;
19 19
20 void set encoding(String value) native "this.encoding = value;"; 20 String name;
21 21
22 String get enctype() native "return this.enctype;"; 22 bool noValidate;
23 23
24 void set enctype(String value) native "this.enctype = value;"; 24 String target;
25
26 int get length() native "return this.length;";
27
28 String get method() native "return this.method;";
29
30 void set method(String value) native "this.method = value;";
31
32 String get name() native "return this.name;";
33
34 void set name(String value) native "this.name = value;";
35
36 bool get noValidate() native "return this.noValidate;";
37
38 void set noValidate(bool value) native "this.noValidate = value;";
39
40 String get target() native "return this.target;";
41
42 void set target(String value) native "this.target = value;";
43 25
44 bool checkValidity() native; 26 bool checkValidity() native;
45 27
46 void reset() native; 28 void reset() native;
47 29
48 void submit() native; 30 void submit() native;
49 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698