| 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 IDBRequest { | 7 interface IDBRequest { |
| 8 | 8 |
| 9 static final int DONE = 2; | 9 static final int DONE = 2; |
| 10 | 10 |
| 11 static final int LOADING = 1; | 11 static final int LOADING = 1; |
| 12 | 12 |
| 13 int get errorCode(); | 13 int get errorCode(); |
| 14 | 14 |
| 15 EventListener get onerror(); | |
| 16 | |
| 17 void set onerror(EventListener value); | |
| 18 | |
| 19 EventListener get onsuccess(); | |
| 20 | |
| 21 void set onsuccess(EventListener value); | |
| 22 | |
| 23 int get readyState(); | 15 int get readyState(); |
| 24 | 16 |
| 25 IDBAny get result(); | 17 IDBAny get result(); |
| 26 | 18 |
| 27 IDBAny get source(); | 19 IDBAny get source(); |
| 28 | 20 |
| 29 IDBTransaction get transaction(); | 21 IDBTransaction get transaction(); |
| 30 | 22 |
| 31 String get webkitErrorMessage(); | 23 String get webkitErrorMessage(); |
| 32 | 24 |
| 33 void addEventListener(String type, EventListener listener, [bool useCapture]); | 25 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 34 | 26 |
| 35 bool dispatchEvent(Event evt); | 27 bool dispatchEvent(Event evt); |
| 36 | 28 |
| 37 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 29 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 38 } | 30 } |
| OLD | NEW |