| OLD | NEW |
| 1 | 1 |
| 2 class IDBTransaction native "*IDBTransaction" { | 2 class IDBTransaction native "*IDBTransaction" { |
| 3 | 3 |
| 4 static final int READ_ONLY = 0; |
| 5 |
| 6 static final int READ_WRITE = 1; |
| 7 |
| 8 static final int VERSION_CHANGE = 2; |
| 9 |
| 4 IDBDatabase db; | 10 IDBDatabase db; |
| 5 | 11 |
| 6 int mode; | 12 int mode; |
| 7 | 13 |
| 8 void abort() native; | 14 void abort() native; |
| 9 | 15 |
| 10 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 16 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 11 | 17 |
| 12 bool dispatchEvent(Event evt) native; | 18 bool dispatchEvent(Event evt) native; |
| 13 | 19 |
| 14 IDBObjectStore objectStore(String name) native; | 20 IDBObjectStore objectStore(String name) native; |
| 15 | 21 |
| 16 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 22 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 17 | 23 |
| 18 var dartObjectLocalStorage; | 24 var dartObjectLocalStorage; |
| 19 | 25 |
| 20 String get typeName() native; | 26 String get typeName() native; |
| 21 } | 27 } |
| OLD | NEW |