OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 interface DOMApplicationCache extends EventTarget { |
| 8 |
| 9 static final int CHECKING = 2; |
| 10 |
| 11 static final int DOWNLOADING = 3; |
| 12 |
| 13 static final int IDLE = 1; |
| 14 |
| 15 static final int OBSOLETE = 5; |
| 16 |
| 17 static final int UNCACHED = 0; |
| 18 |
| 19 static final int UPDATEREADY = 4; |
| 20 |
| 21 final int status; |
| 22 |
| 23 DOMApplicationCacheEvents get on(); |
| 24 |
| 25 void abort(); |
| 26 |
| 27 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
| 28 |
| 29 bool _dispatchEvent(Event evt); |
| 30 |
| 31 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); |
| 32 |
| 33 void swapCache(); |
| 34 |
| 35 void update(); |
| 36 } |
| 37 |
| 38 interface DOMApplicationCacheEvents extends Events { |
| 39 |
| 40 EventListenerList get cached(); |
| 41 |
| 42 EventListenerList get checking(); |
| 43 |
| 44 EventListenerList get downloading(); |
| 45 |
| 46 EventListenerList get error(); |
| 47 |
| 48 EventListenerList get noUpdate(); |
| 49 |
| 50 EventListenerList get obsolete(); |
| 51 |
| 52 EventListenerList get progress(); |
| 53 |
| 54 EventListenerList get updateReady(); |
| 55 } |
OLD | NEW |