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