Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: client/html/generated/src/wrapping/_IDBCursorWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 IDBCurso r { 7 class IDBCursorWrappingImplementation extends DOMWrapperBase implements IDBCurso r {
8 IDBCursorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 8 IDBCursorWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9 9
10 int get direction() { return _ptr.direction; } 10 int get direction() { return _ptr.direction; }
11 11
12 IDBKey get key() { return LevelDom.wrapIDBKey(_ptr.key); } 12 IDBKey get key() { return LevelDom.wrapIDBKey(_ptr.key); }
13 13
14 IDBKey get primaryKey() { return LevelDom.wrapIDBKey(_ptr.primaryKey); } 14 IDBKey get primaryKey() { return LevelDom.wrapIDBKey(_ptr.primaryKey); }
15 15
16 IDBAny get source() { return LevelDom.wrapIDBAny(_ptr.source); } 16 IDBAny get source() { return LevelDom.wrapIDBAny(_ptr.source); }
17 17
18 void continueFunction([IDBKey key = null]) { 18 void continueFunction([IDBKey key]) {
19 if (key === null) { 19 if (key === null) {
20 _ptr.continueFunction(); 20 _ptr.continueFunction();
21 return; 21 return;
22 } else { 22 } else {
23 _ptr.continueFunction(LevelDom.unwrap(key)); 23 _ptr.continueFunction(LevelDom.unwrap(key));
24 return; 24 return;
25 } 25 }
26 } 26 }
27 27
28 IDBRequest delete() { 28 IDBRequest delete() {
29 return LevelDom.wrapIDBRequest(_ptr.delete()); 29 return LevelDom.wrapIDBRequest(_ptr.delete());
30 } 30 }
31 31
32 IDBRequest update(String value) { 32 IDBRequest update(String value) {
33 return LevelDom.wrapIDBRequest(_ptr.update(value)); 33 return LevelDom.wrapIDBRequest(_ptr.update(value));
34 } 34 }
35 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698