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 location; |
10 | 10 |
11 void set location(WorkerLocation value); | 11 WorkerNavigator navigator; |
12 | 12 |
13 WorkerNavigator get navigator(); | 13 EventListener onerror; |
14 | 14 |
15 void set navigator(WorkerNavigator value); | 15 WorkerContext self; |
16 | 16 |
17 EventListener get onerror(); | 17 final IDBFactory webkitIndexedDB; |
18 | 18 |
19 void set onerror(EventListener value); | 19 final NotificationCenter webkitNotifications; |
20 | 20 |
21 WorkerContext get self(); | 21 final DOMURL webkitURL; |
22 | |
23 void set self(WorkerContext value); | |
24 | |
25 IDBFactory get webkitIndexedDB(); | |
26 | |
27 NotificationCenter get webkitNotifications(); | |
28 | |
29 DOMURL get webkitURL(); | |
30 | 22 |
31 void addEventListener(String type, EventListener listener, [bool useCapture]); | 23 void addEventListener(String type, EventListener listener, [bool useCapture]); |
32 | 24 |
33 void clearInterval(int handle); | 25 void clearInterval(int handle); |
34 | 26 |
35 void clearTimeout(int handle); | 27 void clearTimeout(int handle); |
36 | 28 |
37 void close(); | 29 void close(); |
38 | 30 |
39 bool dispatchEvent(Event evt); | 31 bool dispatchEvent(Event evt); |
(...skipping 18 matching lines...) Expand all Loading... |
58 | 50 |
59 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 51 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
60 } | 52 } |
61 | 53 |
62 interface WorkerContext extends WorkerGlobalScope { | 54 interface WorkerContext extends WorkerGlobalScope { |
63 | 55 |
64 static final int PERSISTENT = 1; | 56 static final int PERSISTENT = 1; |
65 | 57 |
66 static final int TEMPORARY = 0; | 58 static final int TEMPORARY = 0; |
67 } | 59 } |
OLD | NEW |