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(Dynamic/*SerializedScriptValue*/ message, String targetOrigin
, [List messagePorts]); |
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); |
(...skipping 15 matching lines...) Expand all Loading... |
251 void stop(); | 251 void stop(); |
252 | 252 |
253 void webkitCancelAnimationFrame(int id); | 253 void webkitCancelAnimationFrame(int id); |
254 | 254 |
255 void webkitCancelRequestAnimationFrame(int id); | 255 void webkitCancelRequestAnimationFrame(int id); |
256 | 256 |
257 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); | 257 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); |
258 | 258 |
259 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); | 259 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); |
260 | 260 |
261 void webkitPostMessage(String message, String targetOrigin, [List transferList
]); | 261 void webkitPostMessage(Dynamic/*SerializedScriptValue*/ message, String target
Origin, [List transferList]); |
262 | 262 |
263 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); | 263 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element); |
264 | 264 |
265 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); | 265 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback]); |
266 | 266 |
267 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 267 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
268 } | 268 } |
269 | 269 |
270 interface DOMWindow extends Window { | 270 interface DOMWindow extends Window { |
271 | 271 |
272 static final int PERSISTENT = 1; | 272 static final int PERSISTENT = 1; |
273 | 273 |
274 static final int TEMPORARY = 0; | 274 static final int TEMPORARY = 0; |
275 } | 275 } |
OLD | NEW |