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

Side by Side Diff: client/dom/generated/src/frog/HTMLOptionElement.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 _HTMLOptionElementJs extends _HTMLElementJs implements HTMLOptionElement n ative "*HTMLOptionElement" { 2 class _HTMLOptionElementJs extends _HTMLElementJs implements HTMLOptionElement n ative "*HTMLOptionElement" {
3 3
4 bool get defaultSelected() native "return this.defaultSelected;"; 4 bool defaultSelected;
5 5
6 void set defaultSelected(bool value) native "this.defaultSelected = value;"; 6 bool disabled;
7 7
8 bool get disabled() native "return this.disabled;"; 8 final _HTMLFormElementJs form;
9 9
10 void set disabled(bool value) native "this.disabled = value;"; 10 final int index;
11 11
12 _HTMLFormElementJs get form() native "return this.form;"; 12 String label;
13 13
14 int get index() native "return this.index;"; 14 bool selected;
15 15
16 String get label() native "return this.label;"; 16 String text;
17 17
18 void set label(String value) native "this.label = value;"; 18 String value;
19
20 bool get selected() native "return this.selected;";
21
22 void set selected(bool value) native "this.selected = value;";
23
24 String get text() native "return this.text;";
25
26 void set text(String value) native "this.text = value;";
27
28 String get value() native "return this.value;";
29
30 void set value(String value) native "this.value = value;";
31 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698