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