| 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 _IDBObjectStoreWrappingImplementation extends DOMWrapperBase implements ID
BObjectStore { | 7 class _IDBObjectStoreWrappingImplementation extends DOMWrapperBase implements ID
BObjectStore { |
| 8 _IDBObjectStoreWrappingImplementation() : super() {} | 8 _IDBObjectStoreWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBObjectStoreWrappingImplementation() native { | 10 static create__IDBObjectStoreWrappingImplementation() native { |
| 11 return new _IDBObjectStoreWrappingImplementation(); | 11 return new _IDBObjectStoreWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get keyPath() { return _get__IDBObjectStore_keyPath(this); } | 14 String get keyPath() { return _get__IDBObjectStore_keyPath(this); } |
| 15 static String _get__IDBObjectStore_keyPath(var _this) native; | 15 static String _get__IDBObjectStore_keyPath(var _this) native; |
| 16 | 16 |
| 17 String get name() { return _get__IDBObjectStore_name(this); } | 17 String get name() { return _get__IDBObjectStore_name(this); } |
| 18 static String _get__IDBObjectStore_name(var _this) native; | 18 static String _get__IDBObjectStore_name(var _this) native; |
| 19 | 19 |
| 20 IDBTransaction get transaction() { return _get__IDBObjectStore_transaction(thi
s); } |
| 21 static IDBTransaction _get__IDBObjectStore_transaction(var _this) native; |
| 22 |
| 20 IDBRequest add(String value, [IDBKey key = null]) { | 23 IDBRequest add(String value, [IDBKey key = null]) { |
| 21 if (key === null) { | 24 if (key === null) { |
| 22 return _add(this, value); | 25 return _add(this, value); |
| 23 } else { | 26 } else { |
| 24 return _add_2(this, value, key); | 27 return _add_2(this, value, key); |
| 25 } | 28 } |
| 26 } | 29 } |
| 27 static IDBRequest _add(receiver, value) native; | 30 static IDBRequest _add(receiver, value) native; |
| 28 static IDBRequest _add_2(receiver, value, key) native; | 31 static IDBRequest _add_2(receiver, value, key) native; |
| 29 | 32 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 return _put(this, value); | 84 return _put(this, value); |
| 82 } else { | 85 } else { |
| 83 return _put_2(this, value, key); | 86 return _put_2(this, value, key); |
| 84 } | 87 } |
| 85 } | 88 } |
| 86 static IDBRequest _put(receiver, value) native; | 89 static IDBRequest _put(receiver, value) native; |
| 87 static IDBRequest _put_2(receiver, value, key) native; | 90 static IDBRequest _put_2(receiver, value, key) native; |
| 88 | 91 |
| 89 String get typeName() { return "IDBObjectStore"; } | 92 String get typeName() { return "IDBObjectStore"; } |
| 90 } | 93 } |
| OLD | NEW |