| OLD | NEW |
| 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface Window extends EventTarget { | 7 interface Window extends EventTarget { |
| 8 | 8 |
| 9 DOMApplicationCache get applicationCache(); | 9 DOMApplicationCache get applicationCache(); |
| 10 | 10 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 MediaQueryList matchMedia(String query); | 215 MediaQueryList matchMedia(String query); |
| 216 | 216 |
| 217 void moveBy(num x, num y); | 217 void moveBy(num x, num y); |
| 218 | 218 |
| 219 void moveTo(num x, num y); | 219 void moveTo(num x, num y); |
| 220 | 220 |
| 221 DOMWindow open(String url, String name, [String options]); | 221 DOMWindow open(String url, String name, [String options]); |
| 222 | 222 |
| 223 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); | 223 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback]); |
| 224 | 224 |
| 225 void postMessage(String message, String targetOrigin, [List messagePorts]); | 225 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar
getOrigin]); |
| 226 | 226 |
| 227 void print(); | 227 void print(); |
| 228 | 228 |
| 229 String prompt(String message, String defaultValue); | 229 String prompt(String message, String defaultValue); |
| 230 | 230 |
| 231 void releaseEvents(); | 231 void releaseEvents(); |
| 232 | 232 |
| 233 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 233 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 234 | 234 |
| 235 void resizeBy(num x, num y); | 235 void resizeBy(num x, num y); |
| 236 | 236 |
| 237 void resizeTo(num width, num height); | 237 void resizeTo(num width, num height); |
| 238 | 238 |
| 239 void scroll(int x, int y); | 239 void scroll(int x, int y); |
| 240 | 240 |
| 241 void scrollBy(int x, int y); | 241 void scrollBy(int x, int y); |
| 242 | 242 |
| 243 void scrollTo(int x, int y); | 243 void scrollTo(int x, int y); |
| 244 | 244 |
| 245 int setInterval(TimeoutHandler handler, int timeout); | 245 int setInterval(TimeoutHandler handler, int timeout); |
| 246 | 246 |
| 247 int setTimeout(TimeoutHandler handler, int timeout); | 247 int setTimeout(TimeoutHandler handler, int timeout); |
| 248 | 248 |
| 249 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]); | 249 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]); |
| 250 | 250 |
| 251 void stop(); | 251 void stop(); |
| 252 | 252 |
| 253 void webkitCancelAnimationFrame(int id); | |
| 254 | |
| 255 void webkitCancelRequestAnimationFrame(int id); | 253 void webkitCancelRequestAnimationFrame(int id); |
| 256 | 254 |
| 257 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); | 255 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); |
| 258 | 256 |
| 259 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); | 257 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); |
| 260 | 258 |
| 261 void webkitPostMessage(String message, String targetOrigin, [List transferList
]); | 259 void webkitPostMessage(String message, var targetOrigin_OR_transferList, [Stri
ng targetOrigin]); |
| 262 | 260 |
| 263 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); | 261 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); |
| 264 | 262 |
| 265 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); | 263 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 266 | 264 |
| 267 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 265 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
| 268 } | 266 } |
| 269 | 267 |
| 270 interface DOMWindow extends Window { | 268 interface DOMWindow extends Window { |
| 271 | 269 |
| 272 static final int PERSISTENT = 1; | 270 static final int PERSISTENT = 1; |
| 273 | 271 |
| 274 static final int TEMPORARY = 0; | 272 static final int TEMPORARY = 0; |
| 275 } | 273 } |
| OLD | NEW |