| 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 _IDBCursorWrappingImplementation extends DOMWrapperBase implements IDBCurs
or { | 7 class _IDBCursorWrappingImplementation extends DOMWrapperBase implements IDBCurs
or { |
| 8 _IDBCursorWrappingImplementation() : super() {} | 8 _IDBCursorWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBCursorWrappingImplementation() native { | 10 static create__IDBCursorWrappingImplementation() native { |
| 11 return new _IDBCursorWrappingImplementation(); | 11 return new _IDBCursorWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get direction() { return _get__IDBCursor_direction(this); } | 14 int get direction() { return _get_direction(this); } |
| 15 static int _get__IDBCursor_direction(var _this) native; | 15 static int _get_direction(var _this) native; |
| 16 | 16 |
| 17 IDBKey get key() { return _get__IDBCursor_key(this); } | 17 IDBKey get key() { return _get_key(this); } |
| 18 static IDBKey _get__IDBCursor_key(var _this) native; | 18 static IDBKey _get_key(var _this) native; |
| 19 | 19 |
| 20 IDBKey get primaryKey() { return _get__IDBCursor_primaryKey(this); } | 20 IDBKey get primaryKey() { return _get_primaryKey(this); } |
| 21 static IDBKey _get__IDBCursor_primaryKey(var _this) native; | 21 static IDBKey _get_primaryKey(var _this) native; |
| 22 | 22 |
| 23 IDBAny get source() { return _get__IDBCursor_source(this); } | 23 IDBAny get source() { return _get_source(this); } |
| 24 static IDBAny _get__IDBCursor_source(var _this) native; | 24 static IDBAny _get_source(var _this) native; |
| 25 | 25 |
| 26 void continueFunction([IDBKey key = null]) { | 26 void continueFunction([IDBKey key = null]) { |
| 27 if (key === null) { | 27 if (key === null) { |
| 28 _continueFunction(this); | 28 _continueFunction(this); |
| 29 return; | 29 return; |
| 30 } else { | 30 } else { |
| 31 _continueFunction_2(this, key); | 31 _continueFunction_2(this, key); |
| 32 return; | 32 return; |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 static void _continueFunction(receiver) native; | 35 static void _continueFunction(receiver) native; |
| 36 static void _continueFunction_2(receiver, key) native; | 36 static void _continueFunction_2(receiver, key) native; |
| 37 | 37 |
| 38 IDBRequest delete() { | 38 IDBRequest delete() { |
| 39 return _delete(this); | 39 return _delete(this); |
| 40 } | 40 } |
| 41 static IDBRequest _delete(receiver) native; | 41 static IDBRequest _delete(receiver) native; |
| 42 | 42 |
| 43 IDBRequest update(String value) { | 43 IDBRequest update(String value) { |
| 44 return _update(this, value); | 44 return _update(this, value); |
| 45 } | 45 } |
| 46 static IDBRequest _update(receiver, value) native; | 46 static IDBRequest _update(receiver, value) native; |
| 47 | 47 |
| 48 String get typeName() { return "IDBCursor"; } | 48 String get typeName() { return "IDBCursor"; } |
| 49 } | 49 } |
| OLD | NEW |