OLD | NEW |
1 | 1 |
2 class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work
erContext" { | 2 class _WorkerContextJs extends _DOMTypeJs implements WorkerContext native "*Work
erContext" { |
3 | 3 |
4 static final int PERSISTENT = 1; | 4 static final int PERSISTENT = 1; |
5 | 5 |
6 static final int TEMPORARY = 0; | 6 static final int TEMPORARY = 0; |
7 | 7 |
8 _WorkerLocationJs get location() native "return this.location;"; | 8 _WorkerLocationJs location; |
9 | 9 |
10 void set location(_WorkerLocationJs value) native "this.location = value;"; | 10 _WorkerNavigatorJs navigator; |
11 | 11 |
12 _WorkerNavigatorJs get navigator() native "return this.navigator;"; | 12 EventListener onerror; |
13 | 13 |
14 void set navigator(_WorkerNavigatorJs value) native "this.navigator = value;"; | 14 _WorkerContextJs self; |
15 | 15 |
16 EventListener get onerror() native "return this.onerror;"; | 16 final _IDBFactoryJs webkitIndexedDB; |
17 | 17 |
18 void set onerror(EventListener value) native "this.onerror = value;"; | 18 final _NotificationCenterJs webkitNotifications; |
19 | 19 |
20 _WorkerContextJs get self() native "return this.self;"; | 20 final _DOMURLJs webkitURL; |
21 | |
22 void set self(_WorkerContextJs value) native "this.self = value;"; | |
23 | |
24 _IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;"; | |
25 | |
26 _NotificationCenterJs get webkitNotifications() native "return this.webkitNoti
fications;"; | |
27 | |
28 _DOMURLJs get webkitURL() native "return this.webkitURL;"; | |
29 | 21 |
30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 22 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
31 | 23 |
32 void clearInterval(int handle) native; | 24 void clearInterval(int handle) native; |
33 | 25 |
34 void clearTimeout(int handle) native; | 26 void clearTimeout(int handle) native; |
35 | 27 |
36 void close() native; | 28 void close() native; |
37 | 29 |
38 bool dispatchEvent(_EventJs evt) native; | 30 bool dispatchEvent(_EventJs evt) native; |
(...skipping 11 matching lines...) Expand all Loading... |
50 int setTimeout(TimeoutHandler handler, int timeout) native; | 42 int setTimeout(TimeoutHandler handler, int timeout) native; |
51 | 43 |
52 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 44 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
53 | 45 |
54 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; | 46 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
55 | 47 |
56 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; | 48 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; |
57 | 49 |
58 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 50 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
59 } | 51 } |
OLD | NEW |