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

Side by Side Diff: client/html/generated/html/interface/Window.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 interface Window extends EventTarget {
8
9 final Document document;
10
11 /**
12 * Executes a [callback] after the next batch of browser layout measurements
13 * has completed or would have completed if any browser layout measurements
14 * had been scheduled.
15 */
16 void requestLayoutFrame(TimeoutHandler callback);
17
18
19 static final int PERSISTENT = 1;
20
21 static final int TEMPORARY = 0;
22
23 final DOMApplicationCache applicationCache;
24
25 final Navigator clientInformation;
26
27 final bool closed;
28
29 final Console console;
30
31 final Crypto crypto;
32
33 String defaultStatus;
34
35 String defaultstatus;
36
37 final num devicePixelRatio;
38
39 final Event event;
40
41 final Element frameElement;
42
43 final Window frames;
44
45 final History history;
46
47 final int innerHeight;
48
49 final int innerWidth;
50
51 final int length;
52
53 final Storage localStorage;
54
55 Location location;
56
57 final BarInfo locationbar;
58
59 final BarInfo menubar;
60
61 String name;
62
63 final Navigator navigator;
64
65 final bool offscreenBuffering;
66
67 final Window opener;
68
69 final int outerHeight;
70
71 final int outerWidth;
72
73 final int pageXOffset;
74
75 final int pageYOffset;
76
77 final Window parent;
78
79 final Performance performance;
80
81 final BarInfo personalbar;
82
83 final Screen screen;
84
85 final int screenLeft;
86
87 final int screenTop;
88
89 final int screenX;
90
91 final int screenY;
92
93 final int scrollX;
94
95 final int scrollY;
96
97 final BarInfo scrollbars;
98
99 final Window self;
100
101 final Storage sessionStorage;
102
103 String status;
104
105 final BarInfo statusbar;
106
107 final StyleMedia styleMedia;
108
109 final BarInfo toolbar;
110
111 final Window top;
112
113 final IDBFactory webkitIndexedDB;
114
115 final NotificationCenter webkitNotifications;
116
117 final StorageInfo webkitStorageInfo;
118
119 final Window window;
120
121 WindowEvents get on();
122
123 void _addEventListener(String type, EventListener listener, [bool useCapture]) ;
124
125 void alert(String message);
126
127 String atob(String string);
128
129 void blur();
130
131 String btoa(String string);
132
133 void captureEvents();
134
135 void clearInterval(int handle);
136
137 void clearTimeout(int handle);
138
139 void close();
140
141 bool confirm(String message);
142
143 bool _dispatchEvent(Event evt);
144
145 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog);
146
147 void focus();
148
149 CSSStyleDeclaration _getComputedStyle(Element element, String pseudoElement);
150
151 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement);
152
153 DOMSelection getSelection();
154
155 MediaQueryList matchMedia(String query);
156
157 void moveBy(num x, num y);
158
159 void moveTo(num x, num y);
160
161 Window open(String url, String name, [String options]);
162
163 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
164
165 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]);
166
167 void print();
168
169 String prompt(String message, String defaultValue);
170
171 void releaseEvents();
172
173 void _removeEventListener(String type, EventListener listener, [bool useCaptur e]);
174
175 void resizeBy(num x, num y);
176
177 void resizeTo(num width, num height);
178
179 void scroll(int x, int y);
180
181 void scrollBy(int x, int y);
182
183 void scrollTo(int x, int y);
184
185 int setInterval(TimeoutHandler handler, int timeout);
186
187 int setTimeout(TimeoutHandler handler, int timeout);
188
189 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
190
191 void stop();
192
193 void webkitCancelAnimationFrame(int id);
194
195 void webkitCancelRequestAnimationFrame(int id);
196
197 Point webkitConvertPointFromNodeToPage(Node node, Point p);
198
199 Point webkitConvertPointFromPageToNode(Node node, Point p);
200
201 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t]);
202
203 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element);
204
205 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]);
206
207 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
208
209 }
210
211 interface WindowEvents extends Events {
212
213 EventListenerList get abort();
214
215 EventListenerList get animationEnd();
216
217 EventListenerList get animationIteration();
218
219 EventListenerList get animationStart();
220
221 EventListenerList get beforeUnload();
222
223 EventListenerList get blur();
224
225 EventListenerList get canPlay();
226
227 EventListenerList get canPlayThrough();
228
229 EventListenerList get change();
230
231 EventListenerList get click();
232
233 EventListenerList get contentLoaded();
234
235 EventListenerList get contextMenu();
236
237 EventListenerList get deviceMotion();
238
239 EventListenerList get deviceOrientation();
240
241 EventListenerList get doubleClick();
242
243 EventListenerList get drag();
244
245 EventListenerList get dragEnd();
246
247 EventListenerList get dragEnter();
248
249 EventListenerList get dragLeave();
250
251 EventListenerList get dragOver();
252
253 EventListenerList get dragStart();
254
255 EventListenerList get drop();
256
257 EventListenerList get durationChange();
258
259 EventListenerList get emptied();
260
261 EventListenerList get ended();
262
263 EventListenerList get error();
264
265 EventListenerList get focus();
266
267 EventListenerList get hashChange();
268
269 EventListenerList get input();
270
271 EventListenerList get invalid();
272
273 EventListenerList get keyDown();
274
275 EventListenerList get keyPress();
276
277 EventListenerList get keyUp();
278
279 EventListenerList get load();
280
281 EventListenerList get loadStart();
282
283 EventListenerList get loadedData();
284
285 EventListenerList get loadedMetadata();
286
287 EventListenerList get message();
288
289 EventListenerList get mouseDown();
290
291 EventListenerList get mouseMove();
292
293 EventListenerList get mouseOut();
294
295 EventListenerList get mouseOver();
296
297 EventListenerList get mouseUp();
298
299 EventListenerList get mouseWheel();
300
301 EventListenerList get offline();
302
303 EventListenerList get online();
304
305 EventListenerList get pageHide();
306
307 EventListenerList get pageShow();
308
309 EventListenerList get pause();
310
311 EventListenerList get play();
312
313 EventListenerList get playing();
314
315 EventListenerList get popState();
316
317 EventListenerList get progress();
318
319 EventListenerList get rateChange();
320
321 EventListenerList get reset();
322
323 EventListenerList get resize();
324
325 EventListenerList get scroll();
326
327 EventListenerList get search();
328
329 EventListenerList get seeked();
330
331 EventListenerList get seeking();
332
333 EventListenerList get select();
334
335 EventListenerList get stalled();
336
337 EventListenerList get storage();
338
339 EventListenerList get submit();
340
341 EventListenerList get suspend();
342
343 EventListenerList get timeUpdate();
344
345 EventListenerList get touchCancel();
346
347 EventListenerList get touchEnd();
348
349 EventListenerList get touchMove();
350
351 EventListenerList get touchStart();
352
353 EventListenerList get transitionEnd();
354
355 EventListenerList get unload();
356
357 EventListenerList get volumeChange();
358
359 EventListenerList get waiting();
360 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698