| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName IDBCursor | |
| 10 interface IDBCursor { | |
| 11 | |
| 12 static final int NEXT = 0; | |
| 13 | |
| 14 static final int NEXT_NO_DUPLICATE = 1; | |
| 15 | |
| 16 static final int PREV = 2; | |
| 17 | |
| 18 static final int PREV_NO_DUPLICATE = 3; | |
| 19 | |
| 20 /** @domName IDBCursor.direction */ | |
| 21 final String direction; | |
| 22 | |
| 23 /** @domName IDBCursor.key */ | |
| 24 final Dynamic key; | |
| 25 | |
| 26 /** @domName IDBCursor.primaryKey */ | |
| 27 final Dynamic primaryKey; | |
| 28 | |
| 29 /** @domName IDBCursor.source */ | |
| 30 final Dynamic source; | |
| 31 | |
| 32 /** @domName IDBCursor.advance */ | |
| 33 void advance(int count); | |
| 34 | |
| 35 /** @domName IDBCursor.continueFunction */ | |
| 36 void continueFunction([/*IDBKey*/ key]); | |
| 37 | |
| 38 /** @domName IDBCursor.delete */ | |
| 39 IDBRequest delete(); | |
| 40 | |
| 41 /** @domName IDBCursor.update */ | |
| 42 IDBRequest update(/*SerializedScriptValue*/ value); | |
| 43 } | |
| OLD | NEW |