| 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 ApplicationCache extends EventTarget { | |
| 8 | |
| 9 final int status; | |
| 10 | |
| 11 void abort(); | |
| 12 | |
| 13 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
| 14 | |
| 15 bool dispatchEvent(Event evt); | |
| 16 | |
| 17 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
| 18 | |
| 19 void swapCache(); | |
| 20 | |
| 21 void update(); | |
| 22 } | |
| 23 | |
| 24 interface DOMApplicationCache extends ApplicationCache { | |
| 25 | |
| 26 static final int CHECKING = 2; | |
| 27 | |
| 28 static final int DOWNLOADING = 3; | |
| 29 | |
| 30 static final int IDLE = 1; | |
| 31 | |
| 32 static final int OBSOLETE = 5; | |
| 33 | |
| 34 static final int UNCACHED = 0; | |
| 35 | |
| 36 static final int UPDATEREADY = 4; | |
| 37 } | |
| OLD | NEW |