OLD | NEW |
1 | 1 |
2 class _IDBRequestJs extends _DOMTypeJs implements IDBRequest native "*IDBRequest
" { | 2 class _IDBRequestJs extends _DOMTypeJs implements IDBRequest native "*IDBRequest
" { |
3 | 3 |
4 static final int DONE = 2; | 4 static final int DONE = 2; |
5 | 5 |
6 static final int LOADING = 1; | 6 static final int LOADING = 1; |
7 | 7 |
8 int get errorCode() native "return this.errorCode;"; | 8 final int errorCode; |
9 | 9 |
10 EventListener get onerror() native "return this.onerror;"; | 10 EventListener onerror; |
11 | 11 |
12 void set onerror(EventListener value) native "this.onerror = value;"; | 12 EventListener onsuccess; |
13 | 13 |
14 EventListener get onsuccess() native "return this.onsuccess;"; | 14 final int readyState; |
15 | 15 |
16 void set onsuccess(EventListener value) native "this.onsuccess = value;"; | 16 final _IDBAnyJs result; |
17 | 17 |
18 int get readyState() native "return this.readyState;"; | 18 final _IDBAnyJs source; |
19 | 19 |
20 _IDBAnyJs get result() native "return this.result;"; | 20 final _IDBTransactionJs transaction; |
21 | 21 |
22 _IDBAnyJs get source() native "return this.source;"; | 22 final String webkitErrorMessage; |
23 | |
24 _IDBTransactionJs get transaction() native "return this.transaction;"; | |
25 | |
26 String get webkitErrorMessage() native "return this.webkitErrorMessage;"; | |
27 | 23 |
28 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 24 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
29 | 25 |
30 bool dispatchEvent(_EventJs evt) native; | 26 bool dispatchEvent(_EventJs evt) native; |
31 | 27 |
32 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 28 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
33 } | 29 } |
OLD | NEW |