| OLD | NEW |
| 1 | 1 |
| 2 class WorkerContextJs extends DOMTypeJs implements WorkerContext native "*Worker
Context" { | 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 get location() native "return this.location;"; |
| 9 | 9 |
| 10 void set location(WorkerLocationJs value) native "this.location = value;"; | 10 void set location(_WorkerLocationJs value) native "this.location = value;"; |
| 11 | 11 |
| 12 WorkerNavigatorJs get navigator() native "return this.navigator;"; | 12 _WorkerNavigatorJs get navigator() native "return this.navigator;"; |
| 13 | 13 |
| 14 void set navigator(WorkerNavigatorJs value) native "this.navigator = value;"; | 14 void set navigator(_WorkerNavigatorJs value) native "this.navigator = value;"; |
| 15 | 15 |
| 16 EventListener get onerror() native "return this.onerror;"; | 16 EventListener get onerror() native "return this.onerror;"; |
| 17 | 17 |
| 18 void set onerror(EventListener value) native "this.onerror = value;"; | 18 void set onerror(EventListener value) native "this.onerror = value;"; |
| 19 | 19 |
| 20 WorkerContextJs get self() native "return this.self;"; | 20 _WorkerContextJs get self() native "return this.self;"; |
| 21 | 21 |
| 22 void set self(WorkerContextJs value) native "this.self = value;"; | 22 void set self(_WorkerContextJs value) native "this.self = value;"; |
| 23 | 23 |
| 24 IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;"; | 24 _IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;"; |
| 25 | 25 |
| 26 NotificationCenterJs get webkitNotifications() native "return this.webkitNotif
ications;"; | 26 _NotificationCenterJs get webkitNotifications() native "return this.webkitNoti
fications;"; |
| 27 | 27 |
| 28 DOMURLJs get webkitURL() native "return this.webkitURL;"; | 28 _DOMURLJs get webkitURL() native "return this.webkitURL;"; |
| 29 | 29 |
| 30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 31 | 31 |
| 32 void clearInterval(int handle) native; | 32 void clearInterval(int handle) native; |
| 33 | 33 |
| 34 void clearTimeout(int handle) native; | 34 void clearTimeout(int handle) native; |
| 35 | 35 |
| 36 void close() native; | 36 void close() native; |
| 37 | 37 |
| 38 bool dispatchEvent(EventJs evt) native; | 38 bool dispatchEvent(_EventJs evt) native; |
| 39 | 39 |
| 40 void importScripts() native; | 40 void importScripts() native; |
| 41 | 41 |
| 42 DatabaseJs openDatabase(String name, String version, String displayName, int e
stimatedSize, [DatabaseCallback creationCallback = null]) native; | 42 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 43 | 43 |
| 44 DatabaseSyncJs openDatabaseSync(String name, String version, String displayNam
e, int estimatedSize, [DatabaseCallback creationCallback = null]) native; | 44 _DatabaseSyncJs openDatabaseSync(String name, String version, String displayNa
me, int estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 45 | 45 |
| 46 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 46 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 47 | 47 |
| 48 int setInterval(TimeoutHandler handler, int timeout) native; | 48 int setInterval(TimeoutHandler handler, int timeout) native; |
| 49 | 49 |
| 50 int setTimeout(TimeoutHandler handler, int timeout) native; | 50 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 51 | 51 |
| 52 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 52 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
| 53 | 53 |
| 54 DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; | 54 _DOMFileSystemSyncJs webkitRequestFileSystemSync(int type, int size) native; |
| 55 | 55 |
| 56 EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; | 56 _EntrySyncJs webkitResolveLocalFileSystemSyncURL(String url) native; |
| 57 | 57 |
| 58 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 58 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
| 59 } | 59 } |
| OLD | NEW |