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

Side by Side Diff: client/dom/generated/src/wrapping/_IDBObjectStoreWrappingImplementation.dart

Issue 9619015: Regenerate dart:dom and dart:html bindings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months 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 _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 {
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 } 32 }
33 static IDBRequest _add(receiver, value) native; 33 static IDBRequest _add(receiver, value) native;
34 static IDBRequest _add_2(receiver, value, key) native; 34 static IDBRequest _add_2(receiver, value, key) native;
35 35
36 IDBRequest clear() { 36 IDBRequest clear() {
37 return _clear(this); 37 return _clear(this);
38 } 38 }
39 static IDBRequest _clear(receiver) native; 39 static IDBRequest _clear(receiver) native;
40 40
41 IDBRequest count([IDBKeyRange range = null]) { 41 IDBRequest count([var key_OR_range = null]) {
42 if (range === null) { 42 if (key_OR_range === null) {
43 return _count(this); 43 return _count(this);
44 } else { 44 } else {
45 return _count_2(this, range); 45 if (key_OR_range is IDBKeyRange) {
46 return _count_2(this, key_OR_range);
47 } else {
48 if (key_OR_range is IDBKey) {
49 return _count_3(this, key_OR_range);
50 }
51 }
46 } 52 }
53 throw "Incorrect number or type of arguments";
47 } 54 }
48 static IDBRequest _count(receiver) native; 55 static IDBRequest _count(receiver) native;
49 static IDBRequest _count_2(receiver, range) native; 56 static IDBRequest _count_2(receiver, key_OR_range) native;
57 static IDBRequest _count_3(receiver, key_OR_range) native;
50 58
51 IDBIndex createIndex(String name, String keyPath) { 59 IDBIndex createIndex(String name, String keyPath) {
52 return _createIndex(this, name, keyPath); 60 return _createIndex(this, name, keyPath);
53 } 61 }
54 static IDBIndex _createIndex(receiver, name, keyPath) native; 62 static IDBIndex _createIndex(receiver, name, keyPath) native;
55 63
56 IDBRequest delete(var key_OR_keyRange) { 64 IDBRequest delete(var key_OR_keyRange) {
57 if (key_OR_keyRange is IDBKeyRange) { 65 if (key_OR_keyRange is IDBKeyRange) {
58 return _delete(this, key_OR_keyRange); 66 return _delete(this, key_OR_keyRange);
59 } else { 67 } else {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 return _put(this, value); 113 return _put(this, value);
106 } else { 114 } else {
107 return _put_2(this, value, key); 115 return _put_2(this, value, key);
108 } 116 }
109 } 117 }
110 static IDBRequest _put(receiver, value) native; 118 static IDBRequest _put(receiver, value) native;
111 static IDBRequest _put_2(receiver, value, key) native; 119 static IDBRequest _put_2(receiver, value, key) native;
112 120
113 String get typeName() { return "IDBObjectStore"; } 121 String get typeName() { return "IDBObjectStore"; }
114 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698