| 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 _IDBIndexWrappingImplementation extends DOMWrapperBase implements IDBIndex
{ | 7 class _IDBIndexWrappingImplementation extends DOMWrapperBase implements IDBIndex
{ |
| 8 _IDBIndexWrappingImplementation() : super() {} | 8 _IDBIndexWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBIndexWrappingImplementation() native { | 10 static create__IDBIndexWrappingImplementation() native { |
| 11 return new _IDBIndexWrappingImplementation(); | 11 return new _IDBIndexWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get keyPath() { return _get_keyPath(this); } | 14 String get keyPath() { return _get_keyPath(this); } |
| 15 static String _get_keyPath(var _this) native; | 15 static String _get_keyPath(var _this) native; |
| 16 | 16 |
| 17 bool get multiEntry() { return _get_multiEntry(this); } |
| 18 static bool _get_multiEntry(var _this) native; |
| 19 |
| 17 String get name() { return _get_name(this); } | 20 String get name() { return _get_name(this); } |
| 18 static String _get_name(var _this) native; | 21 static String _get_name(var _this) native; |
| 19 | 22 |
| 20 IDBObjectStore get objectStore() { return _get_objectStore(this); } | 23 IDBObjectStore get objectStore() { return _get_objectStore(this); } |
| 21 static IDBObjectStore _get_objectStore(var _this) native; | 24 static IDBObjectStore _get_objectStore(var _this) native; |
| 22 | 25 |
| 23 bool get unique() { return _get_unique(this); } | 26 bool get unique() { return _get_unique(this); } |
| 24 static bool _get_unique(var _this) native; | 27 static bool _get_unique(var _this) native; |
| 25 | 28 |
| 29 IDBRequest count([IDBKeyRange range = null]) { |
| 30 if (range === null) { |
| 31 return _count(this); |
| 32 } else { |
| 33 return _count_2(this, range); |
| 34 } |
| 35 } |
| 36 static IDBRequest _count(receiver) native; |
| 37 static IDBRequest _count_2(receiver, range) native; |
| 38 |
| 26 IDBRequest getObject(IDBKey key) { | 39 IDBRequest getObject(IDBKey key) { |
| 27 return _getObject(this, key); | 40 return _getObject(this, key); |
| 28 } | 41 } |
| 29 static IDBRequest _getObject(receiver, key) native; | 42 static IDBRequest _getObject(receiver, key) native; |
| 30 | 43 |
| 31 IDBRequest getKey(IDBKey key) { | 44 IDBRequest getKey(IDBKey key) { |
| 32 return _getKey(this, key); | 45 return _getKey(this, key); |
| 33 } | 46 } |
| 34 static IDBRequest _getKey(receiver, key) native; | 47 static IDBRequest _getKey(receiver, key) native; |
| 35 | 48 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 64 } | 77 } |
| 65 } | 78 } |
| 66 throw "Incorrect number or type of arguments"; | 79 throw "Incorrect number or type of arguments"; |
| 67 } | 80 } |
| 68 static IDBRequest _openKeyCursor(receiver) native; | 81 static IDBRequest _openKeyCursor(receiver) native; |
| 69 static IDBRequest _openKeyCursor_2(receiver, range) native; | 82 static IDBRequest _openKeyCursor_2(receiver, range) native; |
| 70 static IDBRequest _openKeyCursor_3(receiver, range, direction) native; | 83 static IDBRequest _openKeyCursor_3(receiver, range, direction) native; |
| 71 | 84 |
| 72 String get typeName() { return "IDBIndex"; } | 85 String get typeName() { return "IDBIndex"; } |
| 73 } | 86 } |
| OLD | NEW |