| OLD | NEW |
| 1 | 1 |
| 2 class IDBDatabaseJs extends DOMTypeJs implements IDBDatabase native "*IDBDatabas
e" { | 2 class _IDBDatabaseJs extends _DOMTypeJs implements IDBDatabase native "*IDBDatab
ase" { |
| 3 | 3 |
| 4 String get name() native "return this.name;"; | 4 String get name() native "return this.name;"; |
| 5 | 5 |
| 6 EventListener get onabort() native "return this.onabort;"; | 6 EventListener get onabort() native "return this.onabort;"; |
| 7 | 7 |
| 8 void set onabort(EventListener value) native "this.onabort = value;"; | 8 void set onabort(EventListener value) native "this.onabort = value;"; |
| 9 | 9 |
| 10 EventListener get onerror() native "return this.onerror;"; | 10 EventListener get onerror() native "return this.onerror;"; |
| 11 | 11 |
| 12 void set onerror(EventListener value) native "this.onerror = value;"; | 12 void set onerror(EventListener value) native "this.onerror = value;"; |
| 13 | 13 |
| 14 EventListener get onversionchange() native "return this.onversionchange;"; | 14 EventListener get onversionchange() native "return this.onversionchange;"; |
| 15 | 15 |
| 16 void set onversionchange(EventListener value) native "this.onversionchange = v
alue;"; | 16 void set onversionchange(EventListener value) native "this.onversionchange = v
alue;"; |
| 17 | 17 |
| 18 String get version() native "return this.version;"; | 18 String get version() native "return this.version;"; |
| 19 | 19 |
| 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 21 | 21 |
| 22 void close() native; | 22 void close() native; |
| 23 | 23 |
| 24 IDBObjectStoreJs createObjectStore(String name) native; | 24 _IDBObjectStoreJs createObjectStore(String name) native; |
| 25 | 25 |
| 26 void deleteObjectStore(String name) native; | 26 void deleteObjectStore(String name) native; |
| 27 | 27 |
| 28 bool dispatchEvent(EventJs evt) native; | 28 bool dispatchEvent(_EventJs evt) native; |
| 29 | 29 |
| 30 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 30 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 31 | 31 |
| 32 IDBVersionChangeRequestJs setVersion(String version) native; | 32 _IDBVersionChangeRequestJs setVersion(String version) native; |
| 33 | 33 |
| 34 IDBTransactionJs transaction(String storeName, int mode) native; | 34 _IDBTransactionJs transaction(String storeName, int mode) native; |
| 35 } | 35 } |
| OLD | NEW |