| 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 IDBTransaction { | 7 interface IDBTransaction { |
| 8 | 8 |
| 9 static final int READ_ONLY = 0; | 9 static final int READ_ONLY = 0; |
| 10 | 10 |
| 11 static final int READ_WRITE = 1; | 11 static final int READ_WRITE = 1; |
| 12 | 12 |
| 13 static final int VERSION_CHANGE = 2; | 13 static final int VERSION_CHANGE = 2; |
| 14 | 14 |
| 15 IDBDatabase get db(); | 15 IDBDatabase get db(); |
| 16 | 16 |
| 17 int get mode(); | 17 int get mode(); |
| 18 | 18 |
| 19 EventListener get onabort(); | |
| 20 | |
| 21 void set onabort(EventListener value); | |
| 22 | |
| 23 EventListener get oncomplete(); | |
| 24 | |
| 25 void set oncomplete(EventListener value); | |
| 26 | |
| 27 EventListener get onerror(); | |
| 28 | |
| 29 void set onerror(EventListener value); | |
| 30 | |
| 31 void abort(); | 19 void abort(); |
| 32 | 20 |
| 33 void addEventListener(String type, EventListener listener, [bool useCapture]); | 21 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 34 | 22 |
| 35 bool dispatchEvent(Event evt); | 23 bool dispatchEvent(Event evt); |
| 36 | 24 |
| 37 IDBObjectStore objectStore(String name); | 25 IDBObjectStore objectStore(String name); |
| 38 | 26 |
| 39 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 27 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 40 } | 28 } |
| OLD | NEW |