| 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(); |
| 18 |
| 19 void set onerror(EventListener value); |
| 20 |
| 17 WorkerContext get self(); | 21 WorkerContext get self(); |
| 18 | 22 |
| 19 void set self(WorkerContext value); | 23 void set self(WorkerContext value); |
| 20 | 24 |
| 21 NotificationCenter get webkitNotifications(); | 25 NotificationCenter get webkitNotifications(); |
| 22 | 26 |
| 23 DOMURL get webkitURL(); | 27 DOMURL get webkitURL(); |
| 24 | 28 |
| 25 void addEventListener(String type, EventListener listener, [bool useCapture]); | 29 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 26 | 30 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 52 | 56 |
| 53 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); | 57 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k, ErrorCallback errorCallback]); |
| 54 } | 58 } |
| 55 | 59 |
| 56 interface WorkerContext extends WorkerGlobalScope { | 60 interface WorkerContext extends WorkerGlobalScope { |
| 57 | 61 |
| 58 static final int PERSISTENT = 1; | 62 static final int PERSISTENT = 1; |
| 59 | 63 |
| 60 static final int TEMPORARY = 0; | 64 static final int TEMPORARY = 0; |
| 61 } | 65 } |
| OLD | NEW |