| 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 class _IDBDatabaseWrappingImplementation extends DOMWrapperBase implements IDBDa
tabase { | 7 class _IDBDatabaseWrappingImplementation extends DOMWrapperBase implements IDBDa
tabase { |
| 8 _IDBDatabaseWrappingImplementation() : super() {} | 8 _IDBDatabaseWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBDatabaseWrappingImplementation() native { | 10 static create__IDBDatabaseWrappingImplementation() native { |
| 11 return new _IDBDatabaseWrappingImplementation(); | 11 return new _IDBDatabaseWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get name() { return _get_name(this); } | 14 String get name() { return _get_name(this); } |
| 15 static String _get_name(var _this) native; | 15 static String _get_name(var _this) native; |
| 16 | 16 |
| 17 EventListener get onabort() { return _get_onabort(this); } | |
| 18 static EventListener _get_onabort(var _this) native; | |
| 19 | |
| 20 void set onabort(EventListener value) { _set_onabort(this, value); } | |
| 21 static void _set_onabort(var _this, EventListener value) native; | |
| 22 | |
| 23 EventListener get onerror() { return _get_onerror(this); } | |
| 24 static EventListener _get_onerror(var _this) native; | |
| 25 | |
| 26 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 27 static void _set_onerror(var _this, EventListener value) native; | |
| 28 | |
| 29 EventListener get onversionchange() { return _get_onversionchange(this); } | |
| 30 static EventListener _get_onversionchange(var _this) native; | |
| 31 | |
| 32 void set onversionchange(EventListener value) { _set_onversionchange(this, val
ue); } | |
| 33 static void _set_onversionchange(var _this, EventListener value) native; | |
| 34 | |
| 35 String get version() { return _get_version(this); } | 17 String get version() { return _get_version(this); } |
| 36 static String _get_version(var _this) native; | 18 static String _get_version(var _this) native; |
| 37 | 19 |
| 38 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 39 if (useCapture === null) { | 21 if (useCapture === null) { |
| 40 _addEventListener(this, type, listener); | 22 _addEventListener(this, type, listener); |
| 41 return; | 23 return; |
| 42 } else { | 24 } else { |
| 43 _addEventListener_2(this, type, listener, useCapture); | 25 _addEventListener_2(this, type, listener, useCapture); |
| 44 return; | 26 return; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 } | 68 } |
| 87 static IDBVersionChangeRequest _setVersion(receiver, version) native; | 69 static IDBVersionChangeRequest _setVersion(receiver, version) native; |
| 88 | 70 |
| 89 IDBTransaction transaction(String storeName, int mode) { | 71 IDBTransaction transaction(String storeName, int mode) { |
| 90 return _transaction(this, storeName, mode); | 72 return _transaction(this, storeName, mode); |
| 91 } | 73 } |
| 92 static IDBTransaction _transaction(receiver, storeName, mode) native; | 74 static IDBTransaction _transaction(receiver, storeName, mode) native; |
| 93 | 75 |
| 94 String get typeName() { return "IDBDatabase"; } | 76 String get typeName() { return "IDBDatabase"; } |
| 95 } | 77 } |
| OLD | NEW |