| OLD | NEW |
| 1 | 1 |
| 2 class WorkerContext native "WorkerContext" { | 2 class WorkerContext native "WorkerContext" { |
| 3 | 3 |
| 4 WorkerLocation location; | 4 WorkerLocation location; |
| 5 | 5 |
| 6 WorkerNavigator navigator; | 6 WorkerNavigator navigator; |
| 7 | 7 |
| 8 EventListener onerror; | |
| 9 | |
| 10 WorkerContext self; | 8 WorkerContext self; |
| 11 | 9 |
| 12 NotificationCenter webkitNotifications; | 10 NotificationCenter webkitNotifications; |
| 13 | 11 |
| 14 DOMURL webkitURL; | 12 DOMURL webkitURL; |
| 15 | 13 |
| 16 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 14 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 17 | 15 |
| 18 void clearInterval(int handle) native; | 16 void clearInterval(int handle) native; |
| 19 | 17 |
| 20 void clearTimeout(int handle) native; | 18 void clearTimeout(int handle) native; |
| 21 | 19 |
| 22 void close() native; | 20 void close() native; |
| 23 | 21 |
| 24 bool dispatchEvent(Event evt) native; | 22 bool dispatchEvent(Event evt) native; |
| 25 | 23 |
| 26 void importScripts() native; | 24 void importScripts() native; |
| 27 | 25 |
| 28 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 26 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 29 | 27 |
| 30 int setInterval(TimeoutHandler handler, int timeout) native; | 28 int setInterval(TimeoutHandler handler, int timeout) native; |
| 31 | 29 |
| 32 int setTimeout(TimeoutHandler handler, int timeout) native; | 30 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 33 | 31 |
| 34 var dartObjectLocalStorage; | 32 var dartObjectLocalStorage; |
| 35 | 33 |
| 36 String get typeName() native; | 34 String get typeName() native; |
| 37 } | 35 } |
| OLD | NEW |