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 location; | 8 final _WorkerLocationJs location; |
9 | 9 |
10 _WorkerNavigatorJs navigator; | 10 final _WorkerNavigatorJs navigator; |
11 | 11 |
12 EventListener onerror; | 12 EventListener onerror; |
13 | 13 |
14 _WorkerContextJs self; | 14 final _WorkerContextJs self; |
15 | 15 |
16 final _IDBFactoryJs webkitIndexedDB; | 16 final _IDBFactoryJs webkitIndexedDB; |
17 | 17 |
18 final _NotificationCenterJs webkitNotifications; | 18 final _NotificationCenterJs webkitNotifications; |
19 | 19 |
20 final _DOMURLJs webkitURL; | |
21 | |
22 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
23 | 21 |
24 void clearInterval(int handle) native; | 22 void clearInterval(int handle) native; |
25 | 23 |
26 void clearTimeout(int handle) native; | 24 void clearTimeout(int handle) native; |
27 | 25 |
28 void close() native; | 26 void close() native; |
29 | 27 |
30 bool dispatchEvent(_EventJs evt) native; | 28 bool dispatchEvent(_EventJs evt) native; |
31 | 29 |
(...skipping 10 matching lines...) Expand all Loading... |
42 int setTimeout(TimeoutHandler handler, int timeout) native; | 40 int setTimeout(TimeoutHandler handler, int timeout) native; |
43 | 41 |
44 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 42 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
45 | 43 |
46 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; | 44 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
47 | 45 |
48 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; | 46 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; |
49 | 47 |
50 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 48 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
51 } | 49 } |
OLD | NEW |