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

Side by Side Diff: client/html/src/Window.dart

Issue 8363040: Implement measurement using futures (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove duplicated imports from html.dart Created 9 years, 1 month 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 | « client/html/src/Measurement.dart ('k') | client/html/src/WindowWrappingImplementation.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 interface WindowEvents extends Events { 5 interface WindowEvents extends Events {
6 EventListenerList get abort(); 6 EventListenerList get abort();
7 EventListenerList get beforeUnload(); 7 EventListenerList get beforeUnload();
8 EventListenerList get blur(); 8 EventListenerList get blur();
9 EventListenerList get canPlay(); 9 EventListenerList get canPlay();
10 EventListenerList get canPlayThrough(); 10 EventListenerList get canPlayThrough();
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 void close(); 256 void close();
257 257
258 bool confirm([String message]); 258 bool confirm([String message]);
259 259
260 FileReader createFileReader(); 260 FileReader createFileReader();
261 261
262 bool find([String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog]); 262 bool find([String string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog]);
263 263
264 void focus(); 264 void focus();
265 265
266 CSSStyleDeclaration getComputedStyle([Element element, String pseudoElement]);
267
268 DOMSelection getSelection(); 266 DOMSelection getSelection();
269 267
270 MediaQueryList matchMedia(String query); 268 MediaQueryList matchMedia(String query);
271 269
272 void moveBy(num x, num y); 270 void moveBy(num x, num y);
273 271
274 void moveTo(num x, num y); 272 void moveTo(num x, num y);
275 273
276 Window open(String url, String target, [String features]); 274 Window open(String url, String target, [String features]);
277 275
(...skipping 10 matching lines...) Expand all
288 void resizeTo(num width, num height); 286 void resizeTo(num width, num height);
289 287
290 void scroll(int x, int y); 288 void scroll(int x, int y);
291 289
292 void scrollBy(int x, int y); 290 void scrollBy(int x, int y);
293 291
294 void scrollTo(int x, int y); 292 void scrollTo(int x, int y);
295 293
296 int setInterval(TimeoutHandler handler, int timeout); 294 int setInterval(TimeoutHandler handler, int timeout);
297 295
298 int setTimeout([TimeoutHandler handler, int timeout]); 296 int setTimeout(TimeoutHandler handler, int timeout);
299 297
300 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]); 298 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]);
301 299
302 void stop(); 300 void stop();
303 301
304 void webkitCancelRequestAnimationFrame(int id); 302 void webkitCancelRequestAnimationFrame(int id);
305 303
304 // TODO(jacobr): make these return Future<Point>.
306 Point webkitConvertPointFromNodeToPage([Node node, Point p]); 305 Point webkitConvertPointFromNodeToPage([Node node, Point p]);
307 306
308 Point webkitConvertPointFromPageToNode([Node node, Point p]); 307 Point webkitConvertPointFromPageToNode([Node node, Point p]);
309 308
310 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, [Eleme nt element]); 309 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, [Eleme nt element]);
311 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
312 // Window open(String url, String target, WindowSpec features); 318 // Window open(String url, String target, WindowSpec features);
313 319
314 WindowEvents get on(); 320 WindowEvents get on();
315 } 321 }
OLDNEW
« no previous file with comments | « client/html/src/Measurement.dart ('k') | client/html/src/WindowWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698