| 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 final IDBDatabase db; |
| 16 | 16 |
| 17 int get mode(); | 17 final int mode; |
| 18 | 18 |
| 19 EventListener get onabort(); | 19 EventListener onabort; |
| 20 | 20 |
| 21 void set onabort(EventListener value); | 21 EventListener oncomplete; |
| 22 | 22 |
| 23 EventListener get oncomplete(); | 23 EventListener onerror; |
| 24 | |
| 25 void set oncomplete(EventListener value); | |
| 26 | |
| 27 EventListener get onerror(); | |
| 28 | |
| 29 void set onerror(EventListener value); | |
| 30 | 24 |
| 31 void abort(); | 25 void abort(); |
| 32 | 26 |
| 33 void addEventListener(String type, EventListener listener, [bool useCapture]); | 27 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 34 | 28 |
| 35 bool dispatchEvent(Event evt); | 29 bool dispatchEvent(Event evt); |
| 36 | 30 |
| 37 IDBObjectStore objectStore(String name); | 31 IDBObjectStore objectStore(String name); |
| 38 | 32 |
| 39 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 33 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 40 } | 34 } |
| OLD | NEW |