OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 location; | 9 final WorkerLocation location; |
10 | 10 |
11 WorkerNavigator navigator; | 11 final WorkerNavigator navigator; |
12 | 12 |
13 EventListener onerror; | 13 EventListener onerror; |
14 | 14 |
15 WorkerContext self; | 15 final WorkerContext self; |
16 | 16 |
17 final IDBFactory webkitIndexedDB; | 17 final IDBFactory webkitIndexedDB; |
18 | 18 |
19 final NotificationCenter webkitNotifications; | 19 final NotificationCenter webkitNotifications; |
20 | 20 |
21 final DOMURL webkitURL; | |
22 | |
23 void addEventListener(String type, EventListener listener, [bool useCapture]); | 21 void addEventListener(String type, EventListener listener, [bool useCapture]); |
24 | 22 |
25 void clearInterval(int handle); | 23 void clearInterval(int handle); |
26 | 24 |
27 void clearTimeout(int handle); | 25 void clearTimeout(int handle); |
28 | 26 |
29 void close(); | 27 void close(); |
30 | 28 |
31 bool dispatchEvent(Event evt); | 29 bool dispatchEvent(Event evt); |
32 | 30 |
(...skipping 17 matching lines...) Expand all Loading... |
50 | 48 |
51 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 49 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
52 } | 50 } |
53 | 51 |
54 interface WorkerContext extends WorkerGlobalScope { | 52 interface WorkerContext extends WorkerGlobalScope { |
55 | 53 |
56 static final int PERSISTENT = 1; | 54 static final int PERSISTENT = 1; |
57 | 55 |
58 static final int TEMPORARY = 0; | 56 static final int TEMPORARY = 0; |
59 } | 57 } |
OLD | NEW |