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

Side by Side Diff: third_party/WebCore/Modules/indexeddb/IDBObjectStore.idl

Issue 10513011: Roll IDL to multivm@576 (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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 module storage { 26 module storage {
27 27
28 interface [ 28 interface [
29 Conditional=INDEXED_DATABASE 29 Conditional=INDEXED_DATABASE
30 ] IDBObjectStore { 30 ] IDBObjectStore {
31 readonly attribute [TreatReturnedNullStringAs=Null] DOMString name; 31 readonly attribute [TreatReturnedNullStringAs=Null] DOMString name;
32 readonly attribute [TreatReturnedNullStringAs=Null] DOMString keyPath; 32 readonly attribute IDBAny keyPath;
33 readonly attribute DOMStringList indexNames; 33 readonly attribute DOMStringList indexNames;
34 readonly attribute IDBTransaction transaction; 34 readonly attribute IDBTransaction transaction;
35 readonly attribute boolean autoIncrement;
35 36
36 [CallWith=ScriptExecutionContext] IDBRequest put(in SerializedScriptValu e value, in [Optional] IDBKey key) 37 [CallWith=ScriptExecutionContext] IDBRequest put(in SerializedScriptValu e value, in [Optional] IDBKey key)
37 raises (IDBDatabaseException); 38 raises (IDBDatabaseException);
38 [CallWith=ScriptExecutionContext] IDBRequest add(in SerializedScriptValu e value, in [Optional] IDBKey key) 39 [CallWith=ScriptExecutionContext] IDBRequest add(in SerializedScriptValu e value, in [Optional] IDBKey key)
39 raises (IDBDatabaseException); 40 raises (IDBDatabaseException);
40 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKeyRange keyRange) 41 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKeyRange keyRange)
41 raises (IDBDatabaseException); 42 raises (IDBDatabaseException);
42 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKey key) 43 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKey key)
43 raises (IDBDatabaseException); 44 raises (IDBDatabaseException);
44 [CallWith=ScriptExecutionContext] IDBRequest clear() 45 [CallWith=ScriptExecutionContext] IDBRequest clear()
45 raises (IDBDatabaseException); 46 raises (IDBDatabaseException);
46 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange key) 47 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange key)
47 raises (IDBDatabaseException); 48 raises (IDBDatabaseException);
48 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) 49 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key)
49 raises (IDBDatabaseException); 50 raises (IDBDatabaseException);
50 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID BKeyRange range, in [Optional] DOMString direction) 51 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID BKeyRange range, in [Optional] DOMString direction)
51 raises (IDBDatabaseException); 52 raises (IDBDatabaseException);
52 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i n [Optional] DOMString direction) 53 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i n [Optional] DOMString direction)
53 raises (IDBDatabaseException); 54 raises (IDBDatabaseException);
54 55
55 // FIXME: remove these when https://bugs.webkit.org/show_bug.cgi?id=8532 6 is fixed. 56 // FIXME: remove these when https://bugs.webkit.org/show_bug.cgi?id=8532 6 is fixed.
56 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKeyRange r ange, in unsigned short direction) 57 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKeyRange r ange, in unsigned short direction)
57 raises (IDBDatabaseException); 58 raises (IDBDatabaseException);
58 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i n unsigned short direction) 59 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in IDBKey key, i n unsigned short direction)
59 raises (IDBDatabaseException); 60 raises (IDBDatabaseException);
60 61
62 IDBIndex createIndex(in DOMString name, in DOMString[] keyPath, in [Opti onal] Dictionary options)
63 raises (IDBDatabaseException);
61 IDBIndex createIndex(in DOMString name, in DOMString keyPath, in [Option al] Dictionary options) 64 IDBIndex createIndex(in DOMString name, in DOMString keyPath, in [Option al] Dictionary options)
62 raises (IDBDatabaseException); 65 raises (IDBDatabaseException);
63 IDBIndex index(in DOMString name) 66 IDBIndex index(in DOMString name)
64 raises (IDBDatabaseException); 67 raises (IDBDatabaseException);
65 void deleteIndex(in DOMString name) 68 void deleteIndex(in DOMString name)
66 raises (IDBDatabaseException); 69 raises (IDBDatabaseException);
67 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR ange range) 70 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR ange range)
68 raises (IDBDatabaseException); 71 raises (IDBDatabaseException);
69 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key) 72 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key)
70 raises (IDBDatabaseException); 73 raises (IDBDatabaseException);
71 }; 74 };
72 } 75 }
OLDNEW
« no previous file with comments | « third_party/WebCore/Modules/indexeddb/IDBIndex.idl ('k') | third_party/WebCore/Modules/indexeddb/IDBRequest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698