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

Side by Side Diff: client/dom/generated/src/frog/Document.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 _DocumentJs extends _NodeJs implements Document native "*Document" { 2 class _DocumentJs extends _NodeJs implements Document native "*Document" {
3 3
4 String get URL() native "return this.URL;"; 4 final String URL;
5 5
6 _HTMLCollectionJs get anchors() native "return this.anchors;"; 6 final _HTMLCollectionJs anchors;
7 7
8 _HTMLCollectionJs get applets() native "return this.applets;"; 8 final _HTMLCollectionJs applets;
9 9
10 _HTMLElementJs get body() native "return this.body;"; 10 _HTMLElementJs body;
11 11
12 void set body(_HTMLElementJs value) native "this.body = value;"; 12 final String characterSet;
13 13
14 String get characterSet() native "return this.characterSet;"; 14 String charset;
15 15
16 String get charset() native "return this.charset;"; 16 final String compatMode;
17 17
18 void set charset(String value) native "this.charset = value;"; 18 String cookie;
19 19
20 String get compatMode() native "return this.compatMode;"; 20 final String defaultCharset;
21 21
22 String get cookie() native "return this.cookie;"; 22 final _DOMWindowJs defaultView;
23 23
24 void set cookie(String value) native "this.cookie = value;"; 24 final _DocumentTypeJs doctype;
25 25
26 String get defaultCharset() native "return this.defaultCharset;"; 26 final _ElementJs documentElement;
27 27
28 _DOMWindowJs get defaultView() native "return this.defaultView;"; 28 String documentURI;
29 29
30 _DocumentTypeJs get doctype() native "return this.doctype;"; 30 String domain;
31 31
32 _ElementJs get documentElement() native "return this.documentElement;"; 32 final _HTMLCollectionJs forms;
33 33
34 String get documentURI() native "return this.documentURI;"; 34 final _HTMLHeadElementJs head;
35 35
36 void set documentURI(String value) native "this.documentURI = value;"; 36 final _HTMLCollectionJs images;
37 37
38 String get domain() native "return this.domain;"; 38 final _DOMImplementationJs implementation;
39 39
40 void set domain(String value) native "this.domain = value;"; 40 final String inputEncoding;
41 41
42 _HTMLCollectionJs get forms() native "return this.forms;"; 42 final String lastModified;
43 43
44 _HTMLHeadElementJs get head() native "return this.head;"; 44 final _HTMLCollectionJs links;
45 45
46 _HTMLCollectionJs get images() native "return this.images;"; 46 _LocationJs location;
47 47
48 _DOMImplementationJs get implementation() native "return this.implementation;" ; 48 final String preferredStylesheetSet;
49 49
50 String get inputEncoding() native "return this.inputEncoding;"; 50 final String readyState;
51 51
52 String get lastModified() native "return this.lastModified;"; 52 final String referrer;
53 53
54 _HTMLCollectionJs get links() native "return this.links;"; 54 String selectedStylesheetSet;
55 55
56 _LocationJs get location() native "return this.location;"; 56 final _StyleSheetListJs styleSheets;
57 57
58 void set location(_LocationJs value) native "this.location = value;"; 58 String title;
59 59
60 String get preferredStylesheetSet() native "return this.preferredStylesheetSet ;"; 60 final _ElementJs webkitCurrentFullScreenElement;
61 61
62 String get readyState() native "return this.readyState;"; 62 final bool webkitFullScreenKeyboardInputAllowed;
63 63
64 String get referrer() native "return this.referrer;"; 64 final bool webkitHidden;
65 65
66 String get selectedStylesheetSet() native "return this.selectedStylesheetSet;" ; 66 final bool webkitIsFullScreen;
67 67
68 void set selectedStylesheetSet(String value) native "this.selectedStylesheetSe t = value;"; 68 final String webkitVisibilityState;
69 69
70 _StyleSheetListJs get styleSheets() native "return this.styleSheets;"; 70 final String xmlEncoding;
71 71
72 String get title() native "return this.title;"; 72 bool xmlStandalone;
73 73
74 void set title(String value) native "this.title = value;"; 74 String xmlVersion;
75
76 _ElementJs get webkitCurrentFullScreenElement() native "return this.webkitCurr entFullScreenElement;";
77
78 bool get webkitFullScreenKeyboardInputAllowed() native "return this.webkitFull ScreenKeyboardInputAllowed;";
79
80 bool get webkitHidden() native "return this.webkitHidden;";
81
82 bool get webkitIsFullScreen() native "return this.webkitIsFullScreen;";
83
84 String get webkitVisibilityState() native "return this.webkitVisibilityState;" ;
85
86 String get xmlEncoding() native "return this.xmlEncoding;";
87
88 bool get xmlStandalone() native "return this.xmlStandalone;";
89
90 void set xmlStandalone(bool value) native "this.xmlStandalone = value;";
91
92 String get xmlVersion() native "return this.xmlVersion;";
93
94 void set xmlVersion(String value) native "this.xmlVersion = value;";
95 75
96 _NodeJs adoptNode(_NodeJs source) native; 76 _NodeJs adoptNode(_NodeJs source) native;
97 77
98 _RangeJs caretRangeFromPoint(int x, int y) native; 78 _RangeJs caretRangeFromPoint(int x, int y) native;
99 79
100 _AttrJs createAttribute(String name) native; 80 _AttrJs createAttribute(String name) native;
101 81
102 _AttrJs createAttributeNS(String namespaceURI, String qualifiedName) native; 82 _AttrJs createAttributeNS(String namespaceURI, String qualifiedName) native;
103 83
104 _CDATASectionJs createCDATASection(String data) native; 84 _CDATASectionJs createCDATASection(String data) native;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 String queryCommandValue(String command) native; 148 String queryCommandValue(String command) native;
169 149
170 _ElementJs querySelector(String selectors) native; 150 _ElementJs querySelector(String selectors) native;
171 151
172 _NodeListJs querySelectorAll(String selectors) native; 152 _NodeListJs querySelectorAll(String selectors) native;
173 153
174 void webkitCancelFullScreen() native; 154 void webkitCancelFullScreen() native;
175 155
176 _WebKitNamedFlowJs webkitGetFlowByName(String name) native; 156 _WebKitNamedFlowJs webkitGetFlowByName(String name) native;
177 } 157 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698