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

Side by Side Diff: client/dom/generated/src/frog/HTMLDocument.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 _HTMLDocumentJs extends _DocumentJs implements HTMLDocument native "*HTMLD ocument" { 2 class _HTMLDocumentJs extends _DocumentJs implements HTMLDocument native "*HTMLD ocument" {
3 3
4 _ElementJs get activeElement() native "return this.activeElement;"; 4 final _ElementJs activeElement;
5 5
6 String get alinkColor() native "return this.alinkColor;"; 6 String alinkColor;
7 7
8 void set alinkColor(String value) native "this.alinkColor = value;"; 8 _HTMLAllCollectionJs all;
9 9
10 _HTMLAllCollectionJs get all() native "return this.all;"; 10 String bgColor;
11 11
12 void set all(_HTMLAllCollectionJs value) native "this.all = value;"; 12 final String compatMode;
13 13
14 String get bgColor() native "return this.bgColor;"; 14 String designMode;
15 15
16 void set bgColor(String value) native "this.bgColor = value;"; 16 String dir;
17 17
18 String get compatMode() native "return this.compatMode;"; 18 final _HTMLCollectionJs embeds;
19 19
20 String get designMode() native "return this.designMode;"; 20 String fgColor;
21 21
22 void set designMode(String value) native "this.designMode = value;"; 22 String linkColor;
23 23
24 String get dir() native "return this.dir;"; 24 final _HTMLCollectionJs plugins;
25 25
26 void set dir(String value) native "this.dir = value;"; 26 final _HTMLCollectionJs scripts;
27 27
28 _HTMLCollectionJs get embeds() native "return this.embeds;"; 28 String vlinkColor;
29
30 String get fgColor() native "return this.fgColor;";
31
32 void set fgColor(String value) native "this.fgColor = value;";
33
34 String get linkColor() native "return this.linkColor;";
35
36 void set linkColor(String value) native "this.linkColor = value;";
37
38 _HTMLCollectionJs get plugins() native "return this.plugins;";
39
40 _HTMLCollectionJs get scripts() native "return this.scripts;";
41
42 String get vlinkColor() native "return this.vlinkColor;";
43
44 void set vlinkColor(String value) native "this.vlinkColor = value;";
45 29
46 void captureEvents() native; 30 void captureEvents() native;
47 31
48 void clear() native; 32 void clear() native;
49 33
50 void close() native; 34 void close() native;
51 35
52 bool hasFocus() native; 36 bool hasFocus() native;
53 37
54 void open() native; 38 void open() native;
55 39
56 void releaseEvents() native; 40 void releaseEvents() native;
57 41
58 void write(String text) native; 42 void write(String text) native;
59 43
60 void writeln(String text) native; 44 void writeln(String text) native;
61 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698