| OLD | NEW |
| 1 | 1 |
| 2 class DOMApplicationCache native "*DOMApplicationCache" { | 2 class DOMApplicationCache native "*DOMApplicationCache" { |
| 3 | 3 |
| 4 static final int CHECKING = 2; |
| 5 |
| 6 static final int DOWNLOADING = 3; |
| 7 |
| 8 static final int IDLE = 1; |
| 9 |
| 10 static final int OBSOLETE = 5; |
| 11 |
| 12 static final int UNCACHED = 0; |
| 13 |
| 14 static final int UPDATEREADY = 4; |
| 15 |
| 4 int status; | 16 int status; |
| 5 | 17 |
| 6 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 18 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 7 | 19 |
| 8 bool dispatchEvent(Event evt) native; | 20 bool dispatchEvent(Event evt) native; |
| 9 | 21 |
| 10 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 22 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 11 | 23 |
| 12 void swapCache() native; | 24 void swapCache() native; |
| 13 | 25 |
| 14 void update() native; | 26 void update() native; |
| 15 | 27 |
| 16 var dartObjectLocalStorage; | 28 var dartObjectLocalStorage; |
| 17 | 29 |
| 18 String get typeName() native; | 30 String get typeName() native; |
| 19 } | 31 } |
| OLD | NEW |