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