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

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

Issue 10831389: Roll IDL to mutlivm@775. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 IDBAny keyPath; 32 readonly attribute [ImplementedAs=keyPathAny] 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 readonly attribute boolean autoIncrement;
36 36
37 [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)
38 raises (IDBDatabaseException); 38 raises (IDBDatabaseException);
39 [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)
40 raises (IDBDatabaseException); 40 raises (IDBDatabaseException);
41 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKeyRange? keyRange) 41 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKeyRange? keyRange)
42 raises (IDBDatabaseException); 42 raises (IDBDatabaseException);
43 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKey key) 43 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBReque st delete(in IDBKey key)
44 raises (IDBDatabaseException); 44 raises (IDBDatabaseException);
45 [CallWith=ScriptExecutionContext] IDBRequest clear() 45 [CallWith=ScriptExecutionContext] IDBRequest clear()
46 raises (IDBDatabaseException); 46 raises (IDBDatabaseException);
47 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange? key) 47 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKeyRange? key)
48 raises (IDBDatabaseException); 48 raises (IDBDatabaseException);
49 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key) 49 [CallWith=ScriptExecutionContext] IDBRequest get(in IDBKey key)
50 raises (IDBDatabaseException); 50 raises (IDBDatabaseException);
51 [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)
52 raises (IDBDatabaseException); 52 raises (IDBDatabaseException);
53 [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)
54 raises (IDBDatabaseException); 54 raises (IDBDatabaseException);
55 55
56 // 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.
57 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID BKeyRange? range, in [Optional] unsigned short direction) 57 [CallWith=ScriptExecutionContext] IDBRequest openCursor(in [Optional] ID BKeyRange? range, in [Optional] unsigned short direction)
58 raises (IDBDatabaseException); 58 raises (IDBDatabaseException);
59 [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)
60 raises (IDBDatabaseException); 60 raises (IDBDatabaseException);
61 61
62 IDBIndex createIndex(in DOMString name, in DOMString[] keyPath, in [Opti onal] Dictionary options) 62 [CallWith=ScriptExecutionContext] IDBIndex createIndex(in DOMString name , in DOMString[] keyPath, in [Optional] Dictionary options)
63 raises (IDBDatabaseException); 63 raises (IDBDatabaseException);
64 IDBIndex createIndex(in DOMString name, in DOMString keyPath, in [Option al] Dictionary options) 64 [CallWith=ScriptExecutionContext] IDBIndex createIndex(in DOMString name , in DOMString keyPath, in [Optional] Dictionary options)
65 raises (IDBDatabaseException); 65 raises (IDBDatabaseException);
66 IDBIndex index(in DOMString name) 66 IDBIndex index(in DOMString name)
67 raises (IDBDatabaseException); 67 raises (IDBDatabaseException);
68 void deleteIndex(in DOMString name) 68 void deleteIndex(in DOMString name)
69 raises (IDBDatabaseException); 69 raises (IDBDatabaseException);
70 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR ange? range) 70 [CallWith=ScriptExecutionContext] IDBRequest count(in [Optional] IDBKeyR ange? range)
71 raises (IDBDatabaseException); 71 raises (IDBDatabaseException);
72 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key) 72 [CallWith=ScriptExecutionContext] IDBRequest count(in IDBKey key)
73 raises (IDBDatabaseException); 73 raises (IDBDatabaseException);
74 }; 74 };
75 } 75 }
OLDNEW
« no previous file with comments | « third_party/WebCore/Modules/indexeddb/IDBIndex.idl ('k') | third_party/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698