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

Side by Side Diff: lib/html/doc/interface/Window.dartdoc

Issue 10544064: Add dummy dart:html library for documentation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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
« no previous file with comments | « lib/html/doc/interface/WheelEvent.dartdoc ('k') | lib/html/doc/interface/Worker.dartdoc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
6 // This file contains documentation that is merged into the real source.
7 // Do not make code changes here.
8
9 /// @domName DOMWindow
10 interface Window extends EventTarget {
11
12 /**
13 * Executes a [callback] after the next batch of browser layout measurements
14 * has completed or would have completed if any browser layout measurements
15 * had been scheduled.
16 */
17 void requestLayoutFrame(TimeoutHandler callback);
18
19
20 /** @domName DOMWindow.webkitRequestAnimationFrame */
21 int requestAnimationFrame(RequestAnimationFrameCallback callback);
22
23 void cancelAnimationFrame(int id);
24
25 IDBFactory get indexedDB();
26
27
28 /**
29 * @domName EventTarget.addEventListener, EventTarget.removeEventListener, Eve ntTarget.dispatchEvent
30 */
31 WindowEvents get on();
32
33 static final int PERSISTENT = 1;
34
35 static final int TEMPORARY = 0;
36
37 /** @domName DOMWindow.applicationCache */
38 final DOMApplicationCache applicationCache;
39
40 /** @domName DOMWindow.clientInformation */
41 final Navigator clientInformation;
42
43 /** @domName DOMWindow.closed */
44 final bool closed;
45
46 /** @domName DOMWindow.console */
47 final Console console;
48
49 /** @domName DOMWindow.crypto */
50 final Crypto crypto;
51
52 /** @domName DOMWindow.defaultStatus */
53 String defaultStatus;
54
55 /** @domName DOMWindow.defaultstatus */
56 String defaultstatus;
57
58 /** @domName DOMWindow.devicePixelRatio */
59 final num devicePixelRatio;
60
61 /** @domName DOMWindow.document */
62 final Document document;
63
64 /** @domName DOMWindow.event */
65 final Event event;
66
67 /** @domName DOMWindow.frames */
68 final Window frames;
69
70 /** @domName DOMWindow.history */
71 final History history;
72
73 /** @domName DOMWindow.innerHeight */
74 final int innerHeight;
75
76 /** @domName DOMWindow.innerWidth */
77 final int innerWidth;
78
79 /** @domName DOMWindow.length */
80 final int length;
81
82 /** @domName DOMWindow.localStorage */
83 final Storage localStorage;
84
85 /** @domName DOMWindow.location */
86 Location location;
87
88 /** @domName DOMWindow.locationbar */
89 final BarInfo locationbar;
90
91 /** @domName DOMWindow.menubar */
92 final BarInfo menubar;
93
94 /** @domName DOMWindow.name */
95 String name;
96
97 /** @domName DOMWindow.navigator */
98 final Navigator navigator;
99
100 /** @domName DOMWindow.offscreenBuffering */
101 final bool offscreenBuffering;
102
103 /** @domName DOMWindow.opener */
104 final Window opener;
105
106 /** @domName DOMWindow.outerHeight */
107 final int outerHeight;
108
109 /** @domName DOMWindow.outerWidth */
110 final int outerWidth;
111
112 /** @domName DOMWindow.pagePopupController */
113 final PagePopupController pagePopupController;
114
115 /** @domName DOMWindow.pageXOffset */
116 final int pageXOffset;
117
118 /** @domName DOMWindow.pageYOffset */
119 final int pageYOffset;
120
121 /** @domName DOMWindow.parent */
122 final Window parent;
123
124 /** @domName DOMWindow.performance */
125 final Performance performance;
126
127 /** @domName DOMWindow.personalbar */
128 final BarInfo personalbar;
129
130 /** @domName DOMWindow.screen */
131 final Screen screen;
132
133 /** @domName DOMWindow.screenLeft */
134 final int screenLeft;
135
136 /** @domName DOMWindow.screenTop */
137 final int screenTop;
138
139 /** @domName DOMWindow.screenX */
140 final int screenX;
141
142 /** @domName DOMWindow.screenY */
143 final int screenY;
144
145 /** @domName DOMWindow.scrollX */
146 final int scrollX;
147
148 /** @domName DOMWindow.scrollY */
149 final int scrollY;
150
151 /** @domName DOMWindow.scrollbars */
152 final BarInfo scrollbars;
153
154 /** @domName DOMWindow.self */
155 final Window self;
156
157 /** @domName DOMWindow.sessionStorage */
158 final Storage sessionStorage;
159
160 /** @domName DOMWindow.status */
161 String status;
162
163 /** @domName DOMWindow.statusbar */
164 final BarInfo statusbar;
165
166 /** @domName DOMWindow.styleMedia */
167 final StyleMedia styleMedia;
168
169 /** @domName DOMWindow.toolbar */
170 final BarInfo toolbar;
171
172 /** @domName DOMWindow.top */
173 final Window top;
174
175 /** @domName DOMWindow.webkitIndexedDB */
176 final IDBFactory webkitIndexedDB;
177
178 /** @domName DOMWindow.webkitNotifications */
179 final NotificationCenter webkitNotifications;
180
181 /** @domName DOMWindow.webkitStorageInfo */
182 final StorageInfo webkitStorageInfo;
183
184 /** @domName DOMWindow.window */
185 final Window window;
186
187 /** @domName DOMWindow.addEventListener */
188 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]);
189
190 /** @domName DOMWindow.alert */
191 void alert(String message);
192
193 /** @domName DOMWindow.atob */
194 String atob(String string);
195
196 /** @domName DOMWindow.blur */
197 void blur();
198
199 /** @domName DOMWindow.btoa */
200 String btoa(String string);
201
202 /** @domName DOMWindow.captureEvents */
203 void captureEvents();
204
205 /** @domName DOMWindow.clearInterval */
206 void clearInterval(int handle);
207
208 /** @domName DOMWindow.clearTimeout */
209 void clearTimeout(int handle);
210
211 /** @domName DOMWindow.close */
212 void close();
213
214 /** @domName DOMWindow.confirm */
215 bool confirm(String message);
216
217 /** @domName DOMWindow.dispatchEvent */
218 bool $dom_dispatchEvent(Event evt);
219
220 /** @domName DOMWindow.find */
221 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog);
222
223 /** @domName DOMWindow.focus */
224 void focus();
225
226 /** @domName DOMWindow.getComputedStyle */
227 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen t);
228
229 /** @domName DOMWindow.getMatchedCSSRules */
230 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement);
231
232 /** @domName DOMWindow.getSelection */
233 DOMSelection getSelection();
234
235 /** @domName DOMWindow.matchMedia */
236 MediaQueryList matchMedia(String query);
237
238 /** @domName DOMWindow.moveBy */
239 void moveBy(num x, num y);
240
241 /** @domName DOMWindow.moveTo */
242 void moveTo(num x, num y);
243
244 /** @domName DOMWindow.open */
245 Window open(String url, String name, [String options]);
246
247 /** @domName DOMWindow.openDatabase */
248 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
249
250 /** @domName DOMWindow.postMessage */
251 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]);
252
253 /** @domName DOMWindow.print */
254 void print();
255
256 /** @domName DOMWindow.prompt */
257 String prompt(String message, String defaultValue);
258
259 /** @domName DOMWindow.releaseEvents */
260 void releaseEvents();
261
262 /** @domName DOMWindow.removeEventListener */
263 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]);
264
265 /** @domName DOMWindow.resizeBy */
266 void resizeBy(num x, num y);
267
268 /** @domName DOMWindow.resizeTo */
269 void resizeTo(num width, num height);
270
271 /** @domName DOMWindow.scroll */
272 void scroll(int x, int y);
273
274 /** @domName DOMWindow.scrollBy */
275 void scrollBy(int x, int y);
276
277 /** @domName DOMWindow.scrollTo */
278 void scrollTo(int x, int y);
279
280 /** @domName DOMWindow.setInterval */
281 int setInterval(TimeoutHandler handler, int timeout);
282
283 /** @domName DOMWindow.setTimeout */
284 int setTimeout(TimeoutHandler handler, int timeout);
285
286 /** @domName DOMWindow.showModalDialog */
287 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
288
289 /** @domName DOMWindow.stop */
290 void stop();
291
292 /** @domName DOMWindow.webkitCancelAnimationFrame */
293 void webkitCancelAnimationFrame(int id);
294
295 /** @domName DOMWindow.webkitCancelRequestAnimationFrame */
296 void webkitCancelRequestAnimationFrame(int id);
297
298 /** @domName DOMWindow.webkitConvertPointFromNodeToPage */
299 Point webkitConvertPointFromNodeToPage(Node node, Point p);
300
301 /** @domName DOMWindow.webkitConvertPointFromPageToNode */
302 Point webkitConvertPointFromPageToNode(Node node, Point p);
303
304 /** @domName DOMWindow.webkitPostMessage */
305 void webkitPostMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List transferList]);
306
307 /** @domName DOMWindow.webkitRequestAnimationFrame */
308 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback);
309
310 /** @domName DOMWindow.webkitRequestFileSystem */
311 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]);
312
313 /** @domName DOMWindow.webkitResolveLocalFileSystemURL */
314 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
315
316 }
317
318 interface WindowEvents extends Events {
319
320 EventListenerList get abort();
321
322 EventListenerList get animationEnd();
323
324 EventListenerList get animationIteration();
325
326 EventListenerList get animationStart();
327
328 EventListenerList get beforeUnload();
329
330 EventListenerList get blur();
331
332 EventListenerList get canPlay();
333
334 EventListenerList get canPlayThrough();
335
336 EventListenerList get change();
337
338 EventListenerList get click();
339
340 EventListenerList get contentLoaded();
341
342 EventListenerList get contextMenu();
343
344 EventListenerList get deviceMotion();
345
346 EventListenerList get deviceOrientation();
347
348 EventListenerList get doubleClick();
349
350 EventListenerList get drag();
351
352 EventListenerList get dragEnd();
353
354 EventListenerList get dragEnter();
355
356 EventListenerList get dragLeave();
357
358 EventListenerList get dragOver();
359
360 EventListenerList get dragStart();
361
362 EventListenerList get drop();
363
364 EventListenerList get durationChange();
365
366 EventListenerList get emptied();
367
368 EventListenerList get ended();
369
370 EventListenerList get error();
371
372 EventListenerList get focus();
373
374 EventListenerList get hashChange();
375
376 EventListenerList get input();
377
378 EventListenerList get invalid();
379
380 EventListenerList get keyDown();
381
382 EventListenerList get keyPress();
383
384 EventListenerList get keyUp();
385
386 EventListenerList get load();
387
388 EventListenerList get loadStart();
389
390 EventListenerList get loadedData();
391
392 EventListenerList get loadedMetadata();
393
394 EventListenerList get message();
395
396 EventListenerList get mouseDown();
397
398 EventListenerList get mouseMove();
399
400 EventListenerList get mouseOut();
401
402 EventListenerList get mouseOver();
403
404 EventListenerList get mouseUp();
405
406 EventListenerList get mouseWheel();
407
408 EventListenerList get offline();
409
410 EventListenerList get online();
411
412 EventListenerList get pageHide();
413
414 EventListenerList get pageShow();
415
416 EventListenerList get pause();
417
418 EventListenerList get play();
419
420 EventListenerList get playing();
421
422 EventListenerList get popState();
423
424 EventListenerList get progress();
425
426 EventListenerList get rateChange();
427
428 EventListenerList get reset();
429
430 EventListenerList get resize();
431
432 EventListenerList get scroll();
433
434 EventListenerList get search();
435
436 EventListenerList get seeked();
437
438 EventListenerList get seeking();
439
440 EventListenerList get select();
441
442 EventListenerList get stalled();
443
444 EventListenerList get storage();
445
446 EventListenerList get submit();
447
448 EventListenerList get suspend();
449
450 EventListenerList get timeUpdate();
451
452 EventListenerList get touchCancel();
453
454 EventListenerList get touchEnd();
455
456 EventListenerList get touchMove();
457
458 EventListenerList get touchStart();
459
460 EventListenerList get transitionEnd();
461
462 EventListenerList get unload();
463
464 EventListenerList get volumeChange();
465
466 EventListenerList get waiting();
467 }
OLDNEW
« no previous file with comments | « lib/html/doc/interface/WheelEvent.dartdoc ('k') | lib/html/doc/interface/Worker.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698