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

Side by Side Diff: client/html/src/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 interface WindowEvents extends Events {
6 EventListenerList get abort();
7 EventListenerList get beforeUnload();
8 EventListenerList get blur();
9 EventListenerList get canPlay();
10 EventListenerList get canPlayThrough();
11 EventListenerList get change();
12 EventListenerList get click();
13 EventListenerList get contextMenu();
14 EventListenerList get dblClick();
15 EventListenerList get deviceMotion();
16 EventListenerList get deviceOrientation();
17 EventListenerList get drag();
18 EventListenerList get dragEnd();
19 EventListenerList get dragEnter();
20 EventListenerList get dragLeave();
21 EventListenerList get dragOver();
22 EventListenerList get dragStart();
23 EventListenerList get drop();
24 EventListenerList get durationChange();
25 EventListenerList get emptied();
26 EventListenerList get ended();
27 EventListenerList get error();
28 EventListenerList get focus();
29 EventListenerList get hashChange();
30 EventListenerList get input();
31 EventListenerList get invalid();
32 EventListenerList get keyDown();
33 EventListenerList get keyPress();
34 EventListenerList get keyUp();
35 EventListenerList get load();
36 EventListenerList get loadedData();
37 EventListenerList get loadedMetaData();
38 EventListenerList get loadStart();
39 EventListenerList get message();
40 EventListenerList get mouseDown();
41 EventListenerList get mouseMove();
42 EventListenerList get mouseOut();
43 EventListenerList get mouseOver();
44 EventListenerList get mouseUp();
45 EventListenerList get mouseWheel();
46 EventListenerList get offline();
47 EventListenerList get online();
48 EventListenerList get pageHide();
49 EventListenerList get pageShow();
50 EventListenerList get pause();
51 EventListenerList get play();
52 EventListenerList get playing();
53 EventListenerList get popState();
54 EventListenerList get progress();
55 EventListenerList get rateChange();
56 EventListenerList get reset();
57 EventListenerList get resize();
58 EventListenerList get scroll();
59 EventListenerList get search();
60 EventListenerList get seeked();
61 EventListenerList get seeking();
62 EventListenerList get select();
63 EventListenerList get stalled();
64 EventListenerList get storage();
65 EventListenerList get submit();
66 EventListenerList get suspend();
67 EventListenerList get timeUpdate();
68 EventListenerList get touchCancel();
69 EventListenerList get touchEnd();
70 EventListenerList get touchMove();
71 EventListenerList get touchStart();
72 EventListenerList get unLoad();
73 EventListenerList get volumeChange();
74 EventListenerList get waiting();
75 EventListenerList get animationEnd();
76 EventListenerList get animationIteration();
77 EventListenerList get animationStart();
78 EventListenerList get transitionEnd();
79 EventListenerList get contentLoaded();
80 }
81
82 interface Window extends EventTarget {
83
84 DOMApplicationCache get applicationCache();
85
86 Navigator get clientInformation();
87
88 void set clientInformation(Navigator value);
89
90 bool get closed();
91
92 Console get console();
93
94 void set console(Console value);
95
96 Crypto get crypto();
97
98 String get defaultStatus();
99
100 void set defaultStatus(String value);
101
102 num get devicePixelRatio();
103
104 void set devicePixelRatio(num value);
105
106 Document get document();
107
108 Event get event();
109
110 void set event(Event value);
111
112 Element get frameElement();
113
114 Window get frames();
115
116 void set frames(Window value);
117
118 History get history();
119
120 void set history(History value);
121
122 int get innerHeight();
123
124 void set innerHeight(int value);
125
126 int get innerWidth();
127
128 void set innerWidth(int value);
129
130 int get length();
131
132 void set length(int value);
133
134 Storage get localStorage();
135
136 Location get location();
137
138 void set location(Location value);
139
140 BarInfo get locationbar();
141
142 void set locationbar(BarInfo value);
143
144 BarInfo get menubar();
145
146 void set menubar(BarInfo value);
147
148 String get name();
149
150 void set name(String value);
151
152 Navigator get navigator();
153
154 void set navigator(Navigator value);
155
156 bool get offscreenBuffering();
157
158 void set offscreenBuffering(bool value);
159
160 Window get opener();
161
162 void set opener(Window value);
163
164 int get outerHeight();
165
166 void set outerHeight(int value);
167
168 int get outerWidth();
169
170 void set outerWidth(int value);
171
172 int get pageXOffset();
173
174 int get pageYOffset();
175
176 Window get parent();
177
178 void set parent(Window value);
179
180 BarInfo get personalbar();
181
182 void set personalbar(BarInfo value);
183
184 Screen get screen();
185
186 void set screen(Screen value);
187
188 int get screenLeft();
189
190 void set screenLeft(int value);
191
192 int get screenTop();
193
194 void set screenTop(int value);
195
196 int get screenX();
197
198 void set screenX(int value);
199
200 int get screenY();
201
202 void set screenY(int value);
203
204 int get scrollX();
205
206 void set scrollX(int value);
207
208 int get scrollY();
209
210 void set scrollY(int value);
211
212 BarInfo get scrollbars();
213
214 void set scrollbars(BarInfo value);
215
216 Window get self();
217
218 void set self(Window value);
219
220 Storage get sessionStorage();
221
222 String get status();
223
224 void set status(String value);
225
226 BarInfo get statusbar();
227
228 void set statusbar(BarInfo value);
229
230 StyleMedia get styleMedia();
231
232 BarInfo get toolbar();
233
234 void set toolbar(BarInfo value);
235
236 Window get top();
237
238 void set top(Window value);
239
240 NotificationCenter get webkitNotifications();
241
242 void alert([String message]);
243
244 String atob([String string]);
245
246 void blur();
247
248 String btoa([String string]);
249
250 void captureEvents();
251
252 void clearInterval([int handle]);
253
254 void clearTimeout([int handle]);
255
256 void close();
257
258 bool confirm([String message]);
259
260 FileReader createFileReader();
261
262 bool find([String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog]);
263
264 void focus();
265
266 DOMSelection getSelection();
267
268 MediaQueryList matchMedia(String query);
269
270 void moveBy(num x, num y);
271
272 void moveTo(num x, num y);
273
274 Window open(String url, String target, [String features]);
275
276 void postMessage(String message, [var messagePort, String targetOrigin]);
277
278 void print();
279
280 String prompt([String message, String defaultValue]);
281
282 void releaseEvents();
283
284 void resizeBy(num x, num y);
285
286 void resizeTo(num width, num height);
287
288 void scroll(int x, int y);
289
290 void scrollBy(int x, int y);
291
292 void scrollTo(int x, int y);
293
294 int setInterval(TimeoutHandler handler, int timeout);
295
296 int setTimeout(TimeoutHandler handler, int timeout);
297
298 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
299
300 void stop();
301
302 void webkitCancelRequestAnimationFrame(int id);
303
304 // TODO(jacobr): make these return Future<Point>.
305 Point webkitConvertPointFromNodeToPage([Node node, Point p]);
306
307 Point webkitConvertPointFromPageToNode([Node node, Point p]);
308
309 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, [Eleme nt element]);
310
311 /**
312 * Executes a [callback] after the next batch of browser layout measurements
313 * has completed or would have completed if any browser layout measurements
314 * had been scheduled.
315 */
316 void requestLayoutFrame(TimeoutHandler callback);
317
318 // Window open(String url, String target, WindowSpec features);
319
320 WindowEvents get on();
321 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698