| 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 |
| 17 String get version() { return _get_version(this); } | 35 String get version() { return _get_version(this); } |
| 18 static String _get_version(var _this) native; | 36 static String _get_version(var _this) native; |
| 19 | 37 |
| 20 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 38 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 21 if (useCapture === null) { | 39 if (useCapture === null) { |
| 22 _addEventListener(this, type, listener); | 40 _addEventListener(this, type, listener); |
| 23 return; | 41 return; |
| 24 } else { | 42 } else { |
| 25 _addEventListener_2(this, type, listener, useCapture); | 43 _addEventListener_2(this, type, listener, useCapture); |
| 26 return; | 44 return; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 } | 86 } |
| 69 static IDBVersionChangeRequest _setVersion(receiver, version) native; | 87 static IDBVersionChangeRequest _setVersion(receiver, version) native; |
| 70 | 88 |
| 71 IDBTransaction transaction(String storeName, int mode) { | 89 IDBTransaction transaction(String storeName, int mode) { |
| 72 return _transaction(this, storeName, mode); | 90 return _transaction(this, storeName, mode); |
| 73 } | 91 } |
| 74 static IDBTransaction _transaction(receiver, storeName, mode) native; | 92 static IDBTransaction _transaction(receiver, storeName, mode) native; |
| 75 | 93 |
| 76 String get typeName() { return "IDBDatabase"; } | 94 String get typeName() { return "IDBDatabase"; } |
| 77 } | 95 } |
| OLD | NEW |