| 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 _IDBFactoryWrappingImplementation extends DOMWrapperBase implements IDBFac
tory { | 7 class _IDBFactoryWrappingImplementation extends DOMWrapperBase implements IDBFac
tory { |
| 8 _IDBFactoryWrappingImplementation() : super() {} | 8 _IDBFactoryWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBFactoryWrappingImplementation() native { | 10 static create__IDBFactoryWrappingImplementation() native { |
| 11 return new _IDBFactoryWrappingImplementation(); | 11 return new _IDBFactoryWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int cmp(IDBKey first, IDBKey second) { |
| 15 return _cmp(this, first, second); |
| 16 } |
| 17 static int _cmp(receiver, first, second) native; |
| 18 |
| 19 IDBVersionChangeRequest deleteDatabase(String name) { |
| 20 return _deleteDatabase(this, name); |
| 21 } |
| 22 static IDBVersionChangeRequest _deleteDatabase(receiver, name) native; |
| 23 |
| 14 IDBRequest getDatabaseNames() { | 24 IDBRequest getDatabaseNames() { |
| 15 return _getDatabaseNames(this); | 25 return _getDatabaseNames(this); |
| 16 } | 26 } |
| 17 static IDBRequest _getDatabaseNames(receiver) native; | 27 static IDBRequest _getDatabaseNames(receiver) native; |
| 18 | 28 |
| 19 IDBRequest open(String name) { | 29 IDBRequest open(String name) { |
| 20 return _open(this, name); | 30 return _open(this, name); |
| 21 } | 31 } |
| 22 static IDBRequest _open(receiver, name) native; | 32 static IDBRequest _open(receiver, name) native; |
| 23 | 33 |
| 24 String get typeName() { return "IDBFactory"; } | 34 String get typeName() { return "IDBFactory"; } |
| 25 } | 35 } |
| OLD | NEW |