OLD | NEW |
1 | 1 |
2 class _DOMApplicationCacheJs extends _DOMTypeJs implements DOMApplicationCache n
ative "*DOMApplicationCache" { | 2 class _DOMApplicationCacheJs extends _EventTargetJs implements DOMApplicationCac
he native "*DOMApplicationCache" { |
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 final int status; | 16 final int status; |
17 | 17 |
18 void abort() native; | 18 void abort() native; |
19 | 19 |
20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
21 | 21 |
22 bool dispatchEvent(_EventJs evt) native; | 22 bool dispatchEvent(_EventJs evt) native; |
23 | 23 |
24 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 24 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
25 | 25 |
26 void swapCache() native; | 26 void swapCache() native; |
27 | 27 |
28 void update() native; | 28 void update() native; |
29 } | 29 } |
OLD | NEW |