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

Side by Side Diff: client/dom/generated/src/frog/DOMWindow.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 _DOMWindowJs extends _DOMTypeJs implements DOMWindow native "@*DOMWindow" { 2 class _DOMWindowJs extends _DOMTypeJs implements DOMWindow native "@*DOMWindow" {
3 3
4 static final int PERSISTENT = 1; 4 static final int PERSISTENT = 1;
5 5
6 static final int TEMPORARY = 0; 6 static final int TEMPORARY = 0;
7 7
8 _DOMApplicationCacheJs get applicationCache() native "return this.applicationC ache;"; 8 final _DOMApplicationCacheJs applicationCache;
9 9
10 _NavigatorJs get clientInformation() native "return this.clientInformation;"; 10 _NavigatorJs clientInformation;
11 11
12 void set clientInformation(_NavigatorJs value) native "this.clientInformation = value;"; 12 final bool closed;
13 13
14 bool get closed() native "return this.closed;"; 14 _ConsoleJs console;
15 15
16 _ConsoleJs get console() native "return this.console;"; 16 final _CryptoJs crypto;
17 17
18 void set console(_ConsoleJs value) native "this.console = value;"; 18 String defaultStatus;
19 19
20 _CryptoJs get crypto() native "return this.crypto;"; 20 String defaultstatus;
21 21
22 String get defaultStatus() native "return this.defaultStatus;"; 22 num devicePixelRatio;
23 23
24 void set defaultStatus(String value) native "this.defaultStatus = value;"; 24 final _DocumentJs document;
25 25
26 String get defaultstatus() native "return this.defaultstatus;"; 26 _EventJs event;
27 27
28 void set defaultstatus(String value) native "this.defaultstatus = value;"; 28 final _ElementJs frameElement;
29 29
30 num get devicePixelRatio() native "return this.devicePixelRatio;"; 30 _DOMWindowJs frames;
31 31
32 void set devicePixelRatio(num value) native "this.devicePixelRatio = value;"; 32 _HistoryJs history;
33 33
34 _DocumentJs get document() native "return this.document;"; 34 int innerHeight;
35 35
36 _EventJs get event() native "return this.event;"; 36 int innerWidth;
37 37
38 void set event(_EventJs value) native "this.event = value;"; 38 int length;
39 39
40 _ElementJs get frameElement() native "return this.frameElement;"; 40 final _StorageJs localStorage;
41 41
42 _DOMWindowJs get frames() native "return this.frames;"; 42 _LocationJs location;
43 43
44 void set frames(_DOMWindowJs value) native "this.frames = value;"; 44 _BarInfoJs locationbar;
45 45
46 _HistoryJs get history() native "return this.history;"; 46 _BarInfoJs menubar;
47 47
48 void set history(_HistoryJs value) native "this.history = value;"; 48 String name;
49 49
50 int get innerHeight() native "return this.innerHeight;"; 50 _NavigatorJs navigator;
51 51
52 void set innerHeight(int value) native "this.innerHeight = value;"; 52 bool offscreenBuffering;
53 53
54 int get innerWidth() native "return this.innerWidth;"; 54 _DOMWindowJs opener;
55 55
56 void set innerWidth(int value) native "this.innerWidth = value;"; 56 int outerHeight;
57 57
58 int get length() native "return this.length;"; 58 int outerWidth;
59 59
60 void set length(int value) native "this.length = value;"; 60 final int pageXOffset;
61 61
62 _StorageJs get localStorage() native "return this.localStorage;"; 62 final int pageYOffset;
63 63
64 _LocationJs get location() native "return this.location;"; 64 _DOMWindowJs parent;
65 65
66 void set location(_LocationJs value) native "this.location = value;"; 66 _PerformanceJs performance;
67 67
68 _BarInfoJs get locationbar() native "return this.locationbar;"; 68 _BarInfoJs personalbar;
69 69
70 void set locationbar(_BarInfoJs value) native "this.locationbar = value;"; 70 _ScreenJs screen;
71 71
72 _BarInfoJs get menubar() native "return this.menubar;"; 72 int screenLeft;
73 73
74 void set menubar(_BarInfoJs value) native "this.menubar = value;"; 74 int screenTop;
75 75
76 String get name() native "return this.name;"; 76 int screenX;
77 77
78 void set name(String value) native "this.name = value;"; 78 int screenY;
79 79
80 _NavigatorJs get navigator() native "return this.navigator;"; 80 int scrollX;
81 81
82 void set navigator(_NavigatorJs value) native "this.navigator = value;"; 82 int scrollY;
83 83
84 bool get offscreenBuffering() native "return this.offscreenBuffering;"; 84 _BarInfoJs scrollbars;
85 85
86 void set offscreenBuffering(bool value) native "this.offscreenBuffering = valu e;"; 86 _DOMWindowJs self;
87 87
88 _DOMWindowJs get opener() native "return this.opener;"; 88 final _StorageJs sessionStorage;
89 89
90 void set opener(_DOMWindowJs value) native "this.opener = value;"; 90 String status;
91 91
92 int get outerHeight() native "return this.outerHeight;"; 92 _BarInfoJs statusbar;
93 93
94 void set outerHeight(int value) native "this.outerHeight = value;"; 94 final _StyleMediaJs styleMedia;
95 95
96 int get outerWidth() native "return this.outerWidth;"; 96 _BarInfoJs toolbar;
97 97
98 void set outerWidth(int value) native "this.outerWidth = value;"; 98 _DOMWindowJs top;
99 99
100 int get pageXOffset() native "return this.pageXOffset;"; 100 final _IDBFactoryJs webkitIndexedDB;
101 101
102 int get pageYOffset() native "return this.pageYOffset;"; 102 final _NotificationCenterJs webkitNotifications;
103 103
104 _DOMWindowJs get parent() native "return this.parent;"; 104 final _StorageInfoJs webkitStorageInfo;
105 105
106 void set parent(_DOMWindowJs value) native "this.parent = value;"; 106 final _DOMURLJs webkitURL;
107 107
108 _PerformanceJs get performance() native "return this.performance;"; 108 final _DOMWindowJs window;
109
110 void set performance(_PerformanceJs value) native "this.performance = value;";
111
112 _BarInfoJs get personalbar() native "return this.personalbar;";
113
114 void set personalbar(_BarInfoJs value) native "this.personalbar = value;";
115
116 _ScreenJs get screen() native "return this.screen;";
117
118 void set screen(_ScreenJs value) native "this.screen = value;";
119
120 int get screenLeft() native "return this.screenLeft;";
121
122 void set screenLeft(int value) native "this.screenLeft = value;";
123
124 int get screenTop() native "return this.screenTop;";
125
126 void set screenTop(int value) native "this.screenTop = value;";
127
128 int get screenX() native "return this.screenX;";
129
130 void set screenX(int value) native "this.screenX = value;";
131
132 int get screenY() native "return this.screenY;";
133
134 void set screenY(int value) native "this.screenY = value;";
135
136 int get scrollX() native "return this.scrollX;";
137
138 void set scrollX(int value) native "this.scrollX = value;";
139
140 int get scrollY() native "return this.scrollY;";
141
142 void set scrollY(int value) native "this.scrollY = value;";
143
144 _BarInfoJs get scrollbars() native "return this.scrollbars;";
145
146 void set scrollbars(_BarInfoJs value) native "this.scrollbars = value;";
147
148 _DOMWindowJs get self() native "return this.self;";
149
150 void set self(_DOMWindowJs value) native "this.self = value;";
151
152 _StorageJs get sessionStorage() native "return this.sessionStorage;";
153
154 String get status() native "return this.status;";
155
156 void set status(String value) native "this.status = value;";
157
158 _BarInfoJs get statusbar() native "return this.statusbar;";
159
160 void set statusbar(_BarInfoJs value) native "this.statusbar = value;";
161
162 _StyleMediaJs get styleMedia() native "return this.styleMedia;";
163
164 _BarInfoJs get toolbar() native "return this.toolbar;";
165
166 void set toolbar(_BarInfoJs value) native "this.toolbar = value;";
167
168 _DOMWindowJs get top() native "return this.top;";
169
170 void set top(_DOMWindowJs value) native "this.top = value;";
171
172 _IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;";
173
174 _NotificationCenterJs get webkitNotifications() native "return this.webkitNoti fications;";
175
176 _StorageInfoJs get webkitStorageInfo() native "return this.webkitStorageInfo;" ;
177
178 _DOMURLJs get webkitURL() native "return this.webkitURL;";
179
180 _DOMWindowJs get window() native "return this.window;";
181 109
182 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 110 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
183 111
184 void alert(String message) native; 112 void alert(String message) native;
185 113
186 String atob(String string) native; 114 String atob(String string) native;
187 115
188 void blur() native; 116 void blur() native;
189 117
190 String btoa(String string) native; 118 String btoa(String string) native;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p ) native; 186 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p ) native;
259 187
260 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t = null]) native; 188 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t = null]) native;
261 189
262 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, _Eleme ntJs element) native; 190 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, _Eleme ntJs element) native;
263 191
264 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback = null]) native; 192 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback = null]) native;
265 193
266 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native; 194 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
267 } 195 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698