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

Side by Side Diff: client/dom/generated/src/frog/HTMLSelectElement.dart

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class HTMLSelectElement extends HTMLElement native "*HTMLSelectElement" { 2 class HTMLSelectElementJS extends HTMLElementJS implements HTMLSelectElement nat ive "*HTMLSelectElement" {
3 3
4 bool get autofocus() native "return this.autofocus;"; 4 bool get autofocus() native "return this.autofocus;";
5 5
6 void set autofocus(bool value) native "this.autofocus = value;"; 6 void set autofocus(bool value) native "this.autofocus = value;";
7 7
8 bool get disabled() native "return this.disabled;"; 8 bool get disabled() native "return this.disabled;";
9 9
10 void set disabled(bool value) native "this.disabled = value;"; 10 void set disabled(bool value) native "this.disabled = value;";
11 11
12 HTMLFormElement get form() native "return this.form;"; 12 HTMLFormElementJS get form() native "return this.form;";
13 13
14 NodeList get labels() native "return this.labels;"; 14 NodeListJS get labels() native "return this.labels;";
15 15
16 int get length() native "return this.length;"; 16 int get length() native "return this.length;";
17 17
18 void set length(int value) native "this.length = value;"; 18 void set length(int value) native "this.length = value;";
19 19
20 bool get multiple() native "return this.multiple;"; 20 bool get multiple() native "return this.multiple;";
21 21
22 void set multiple(bool value) native "this.multiple = value;"; 22 void set multiple(bool value) native "this.multiple = value;";
23 23
24 String get name() native "return this.name;"; 24 String get name() native "return this.name;";
25 25
26 void set name(String value) native "this.name = value;"; 26 void set name(String value) native "this.name = value;";
27 27
28 HTMLOptionsCollection get options() native "return this.options;"; 28 HTMLOptionsCollectionJS get options() native "return this.options;";
29 29
30 bool get required() native "return this.required;"; 30 bool get required() native "return this.required;";
31 31
32 void set required(bool value) native "this.required = value;"; 32 void set required(bool value) native "this.required = value;";
33 33
34 int get selectedIndex() native "return this.selectedIndex;"; 34 int get selectedIndex() native "return this.selectedIndex;";
35 35
36 void set selectedIndex(int value) native "this.selectedIndex = value;"; 36 void set selectedIndex(int value) native "this.selectedIndex = value;";
37 37
38 int get size() native "return this.size;"; 38 int get size() native "return this.size;";
39 39
40 void set size(int value) native "this.size = value;"; 40 void set size(int value) native "this.size = value;";
41 41
42 String get type() native "return this.type;"; 42 String get type() native "return this.type;";
43 43
44 String get validationMessage() native "return this.validationMessage;"; 44 String get validationMessage() native "return this.validationMessage;";
45 45
46 ValidityState get validity() native "return this.validity;"; 46 ValidityStateJS get validity() native "return this.validity;";
47 47
48 String get value() native "return this.value;"; 48 String get value() native "return this.value;";
49 49
50 void set value(String value) native "this.value = value;"; 50 void set value(String value) native "this.value = value;";
51 51
52 bool get willValidate() native "return this.willValidate;"; 52 bool get willValidate() native "return this.willValidate;";
53 53
54 void add(HTMLElement element, HTMLElement before) native; 54 void add(HTMLElementJS element, HTMLElementJS before) native;
55 55
56 bool checkValidity() native; 56 bool checkValidity() native;
57 57
58 Node item(int index) native; 58 NodeJS item(int index) native;
59 59
60 Node namedItem(String name) native; 60 NodeJS namedItem(String name) native;
61 61
62 void remove(var index_OR_option) native; 62 void remove(var index_OR_option) native;
63 63
64 void setCustomValidity(String error) native; 64 void setCustomValidity(String error) native;
65 } 65 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/HTMLScriptElement.dart ('k') | client/dom/generated/src/frog/HTMLSourceElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698