| 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 IDBDatabase { | |
| 8 | |
| 9 final String name; | |
| 10 | |
| 11 final List<String> objectStoreNames; | |
| 12 | |
| 13 EventListener onabort; | |
| 14 | |
| 15 EventListener onerror; | |
| 16 | |
| 17 EventListener onversionchange; | |
| 18 | |
| 19 final String version; | |
| 20 | |
| 21 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
| 22 | |
| 23 void close(); | |
| 24 | |
| 25 IDBObjectStore createObjectStore(String name); | |
| 26 | |
| 27 void deleteObjectStore(String name); | |
| 28 | |
| 29 bool dispatchEvent(Event evt); | |
| 30 | |
| 31 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
| 32 | |
| 33 IDBVersionChangeRequest setVersion(String version); | |
| 34 | |
| 35 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); | |
| 36 } | |
| OLD | NEW |