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

Side by Side Diff: client/dom/generated/src/wrapping/_IDBIndexWrappingImplementation.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 _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); } 17 bool get multiEntry() { return _get_multiEntry(this); }
18 static bool _get_multiEntry(var _this) native; 18 static bool _get_multiEntry(var _this) native;
19 19
20 String get name() { return _get_name(this); } 20 String get name() { return _get_name(this); }
21 static String _get_name(var _this) native; 21 static String _get_name(var _this) native;
22 22
23 IDBObjectStore get objectStore() { return _get_objectStore(this); } 23 IDBObjectStore get objectStore() { return _get_objectStore(this); }
24 static IDBObjectStore _get_objectStore(var _this) native; 24 static IDBObjectStore _get_objectStore(var _this) native;
25 25
26 bool get unique() { return _get_unique(this); } 26 bool get unique() { return _get_unique(this); }
27 static bool _get_unique(var _this) native; 27 static bool _get_unique(var _this) native;
28 28
29 IDBRequest count([IDBKeyRange range = null]) { 29 IDBRequest count([var key_OR_range = null]) {
30 if (range === null) { 30 if (key_OR_range === null) {
31 return _count(this); 31 return _count(this);
32 } else { 32 } else {
33 return _count_2(this, range); 33 if (key_OR_range is IDBKeyRange) {
34 return _count_2(this, key_OR_range);
35 } else {
36 if (key_OR_range is IDBKey) {
37 return _count_3(this, key_OR_range);
38 }
39 }
34 } 40 }
41 throw "Incorrect number or type of arguments";
35 } 42 }
36 static IDBRequest _count(receiver) native; 43 static IDBRequest _count(receiver) native;
37 static IDBRequest _count_2(receiver, range) native; 44 static IDBRequest _count_2(receiver, key_OR_range) native;
45 static IDBRequest _count_3(receiver, key_OR_range) native;
38 46
39 IDBRequest getObject(IDBKey key) { 47 IDBRequest getObject(IDBKey key) {
40 return _getObject(this, key); 48 return _getObject(this, key);
41 } 49 }
42 static IDBRequest _getObject(receiver, key) native; 50 static IDBRequest _getObject(receiver, key) native;
43 51
44 IDBRequest getKey(IDBKey key) { 52 IDBRequest getKey(IDBKey key) {
45 return _getKey(this, key); 53 return _getKey(this, key);
46 } 54 }
47 static IDBRequest _getKey(receiver, key) native; 55 static IDBRequest _getKey(receiver, key) native;
(...skipping 29 matching lines...) Expand all
77 } 85 }
78 } 86 }
79 throw "Incorrect number or type of arguments"; 87 throw "Incorrect number or type of arguments";
80 } 88 }
81 static IDBRequest _openKeyCursor(receiver) native; 89 static IDBRequest _openKeyCursor(receiver) native;
82 static IDBRequest _openKeyCursor_2(receiver, range) native; 90 static IDBRequest _openKeyCursor_2(receiver, range) native;
83 static IDBRequest _openKeyCursor_3(receiver, range, direction) native; 91 static IDBRequest _openKeyCursor_3(receiver, range, direction) native;
84 92
85 String get typeName() { return "IDBIndex"; } 93 String get typeName() { return "IDBIndex"; }
86 } 94 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698