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

Side by Side Diff: lib/dom/frog/dom_frog.dart

Issue 10540016: indexedDB work (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 4258 matching lines...) Expand 10 before | Expand all | Expand 10 after
4269 _IDBObjectStoreJs createObjectStore(String name, [Map options = null]) native; 4269 _IDBObjectStoreJs createObjectStore(String name, [Map options = null]) native;
4270 4270
4271 void deleteObjectStore(String name) native; 4271 void deleteObjectStore(String name) native;
4272 4272
4273 bool dispatchEvent(_EventJs evt) native; 4273 bool dispatchEvent(_EventJs evt) native;
4274 4274
4275 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4275 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4276 4276
4277 _IDBVersionChangeRequestJs setVersion(String version) native; 4277 _IDBVersionChangeRequestJs setVersion(String version) native;
4278 4278
4279 _IDBTransactionJs transaction(storeName_OR_storeNames, mode) native; 4279 _IDBTransactionJs transaction(storeName_OR_storeNames, String mode) native;
4280 } 4280 }
4281 4281
4282 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" { 4282 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" {
4283 4283
4284 static final int ABORT_ERR = 20; 4284 static final int ABORT_ERR = 20;
4285 4285
4286 static final int CONSTRAINT_ERR = 4; 4286 static final int CONSTRAINT_ERR = 4;
4287 4287
4288 static final int DATA_ERR = 5; 4288 static final int DATA_ERR = 5;
4289 4289
(...skipping 12818 matching lines...) Expand 10 before | Expand all | Expand 10 after
17108 IDBObjectStore createObjectStore(String name, [Map options]); 17108 IDBObjectStore createObjectStore(String name, [Map options]);
17109 17109
17110 void deleteObjectStore(String name); 17110 void deleteObjectStore(String name);
17111 17111
17112 bool dispatchEvent(Event evt); 17112 bool dispatchEvent(Event evt);
17113 17113
17114 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17114 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17115 17115
17116 IDBVersionChangeRequest setVersion(String version); 17116 IDBVersionChangeRequest setVersion(String version);
17117 17117
17118 IDBTransaction transaction(storeName_OR_storeNames, mode); 17118 IDBTransaction transaction(storeName_OR_storeNames, String mode);
17119 } 17119 }
17120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17121 // for details. All rights reserved. Use of this source code is governed by a 17121 // for details. All rights reserved. Use of this source code is governed by a
17122 // BSD-style license that can be found in the LICENSE file. 17122 // BSD-style license that can be found in the LICENSE file.
17123 17123
17124 // WARNING: Do not edit - generated code. 17124 // WARNING: Do not edit - generated code.
17125 17125
17126 interface IDBDatabaseException { 17126 interface IDBDatabaseException {
17127 17127
17128 static final int ABORT_ERR = 20; 17128 static final int ABORT_ERR = 20;
(...skipping 8162 matching lines...) Expand 10 before | Expand all | Expand 10 after
25291 if (length < 0) throw new IllegalArgumentException('length'); 25291 if (length < 0) throw new IllegalArgumentException('length');
25292 if (start < 0) throw new IndexOutOfRangeException(start); 25292 if (start < 0) throw new IndexOutOfRangeException(start);
25293 int end = start + length; 25293 int end = start + length;
25294 if (end > a.length) throw new IndexOutOfRangeException(end); 25294 if (end > a.length) throw new IndexOutOfRangeException(end);
25295 for (int i = start; i < end; i++) { 25295 for (int i = start; i < end; i++) {
25296 accumulator.add(a[i]); 25296 accumulator.add(a[i]);
25297 } 25297 }
25298 return accumulator; 25298 return accumulator;
25299 } 25299 }
25300 } 25300 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698