OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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 final String name; | 9 final String name; |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 IDBObjectStore createObjectStore(String name); | 25 IDBObjectStore createObjectStore(String name); |
26 | 26 |
27 void deleteObjectStore(String name); | 27 void deleteObjectStore(String name); |
28 | 28 |
29 bool dispatchEvent(Event evt); | 29 bool dispatchEvent(Event evt); |
30 | 30 |
31 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 31 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
32 | 32 |
33 IDBVersionChangeRequest setVersion(String version); | 33 IDBVersionChangeRequest setVersion(String version); |
34 | 34 |
35 IDBTransaction transaction(var storeName_OR_storeNames, int mode); | 35 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); |
36 } | 36 } |
OLD | NEW |