| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface IDBDatabase { | 7 interface IDBDatabase { |
| 8 | 8 |
| 9 String get name(); | 9 String get name(); |
| 10 | 10 |
| 11 EventListener get onabort(); |
| 12 |
| 13 void set onabort(EventListener value); |
| 14 |
| 15 EventListener get onerror(); |
| 16 |
| 17 void set onerror(EventListener value); |
| 18 |
| 19 EventListener get onversionchange(); |
| 20 |
| 21 void set onversionchange(EventListener value); |
| 22 |
| 11 String get version(); | 23 String get version(); |
| 12 | 24 |
| 13 void addEventListener(String type, EventListener listener, [bool useCapture]); | 25 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 14 | 26 |
| 15 void close(); | 27 void close(); |
| 16 | 28 |
| 17 IDBObjectStore createObjectStore(String name); | 29 IDBObjectStore createObjectStore(String name); |
| 18 | 30 |
| 19 void deleteObjectStore(String name); | 31 void deleteObjectStore(String name); |
| 20 | 32 |
| 21 bool dispatchEvent(Event evt); | 33 bool dispatchEvent(Event evt); |
| 22 | 34 |
| 23 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 35 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 24 | 36 |
| 25 IDBVersionChangeRequest setVersion(String version); | 37 IDBVersionChangeRequest setVersion(String version); |
| 26 | 38 |
| 27 IDBTransaction transaction(String storeName, int mode); | 39 IDBTransaction transaction(String storeName, int mode); |
| 28 } | 40 } |
| OLD | NEW |