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 WorkerGlobalScope { | 7 interface WorkerGlobalScope { |
8 | 8 |
9 WorkerLocation get location(); | 9 WorkerLocation get location(); |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 bool dispatchEvent(Event evt); | 33 bool dispatchEvent(Event evt); |
34 | 34 |
35 void importScripts(); | 35 void importScripts(); |
36 | 36 |
37 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 37 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
38 | 38 |
39 int setInterval(TimeoutHandler handler, int timeout); | 39 int setInterval(TimeoutHandler handler, int timeout); |
40 | 40 |
41 int setTimeout(TimeoutHandler handler, int timeout); | 41 int setTimeout(TimeoutHandler handler, int timeout); |
| 42 |
| 43 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback, ErrorCallback errorCallback]); |
| 44 |
| 45 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size); |
| 46 |
| 47 EntrySync webkitResolveLocalFileSystemSyncURL(String url); |
| 48 |
| 49 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
42 } | 50 } |
43 | 51 |
44 interface WorkerContext extends WorkerGlobalScope { | 52 interface WorkerContext extends WorkerGlobalScope { |
| 53 |
| 54 static final int PERSISTENT = 1; |
| 55 |
| 56 static final int TEMPORARY = 0; |
45 } | 57 } |
OLD | NEW |