diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 09:03:52 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 09:03:52 +0000 |
commit | 5196b0cded7f952e8faf1f06230b1fda786a707a (patch) | |
tree | 3f3e904932e2a1031a46375ed623807dbea9ff0b /chrome/common/render_messages_internal.h | |
parent | dcd5b33317e700f4dbce32122bcdc1da5a31ae8d (diff) | |
download | chromium_src-5196b0cded7f952e8faf1f06230b1fda786a707a.zip chromium_src-5196b0cded7f952e8faf1f06230b1fda786a707a.tar.gz chromium_src-5196b0cded7f952e8faf1f06230b1fda786a707a.tar.bz2 |
Implements initial plumbing for IDBCursor.
This is the Chromium side of https://bugs.webkit.org/show_bug.cgi?id=41888
It's almost purely plumbing: actual logic and cursor implementation will follow soon.
Review URL: http://codereview.chromium.org/2918002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 95389c4..674cb4f 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -868,6 +868,9 @@ IPC_BEGIN_MESSAGES(View) IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessSerializedScriptValue, int32 /* response_id */, SerializedScriptValue /* serialized_script_value */) + IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbackSuccessOpenCursor, + int32 /* response_id */, + int32 /* cursor_id */) IPC_MESSAGE_CONTROL3(ViewMsg_IDBCallbacksError, int32 /* response_id */, int /* code */, @@ -2230,6 +2233,21 @@ IPC_BEGIN_MESSAGES(ViewHost) GURL /* url */, bool /* something_cleared */) + // WebIDBCursor::direction() message. + IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorDirection, + int32, /* idb_cursor_id */ + int32 /* direction */) + + // WebIDBCursor::key() message. + IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorKey, + int32, /* idb_cursor_id */ + IndexedDBKey) + + // WebIDBCursor::value() message. + IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorValue, + int32, /* idb_cursor_id */ + SerializedScriptValue) + // WebIDBFactory::open() message. IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryOpen, ViewHostMsg_IDBFactoryOpen_Params) @@ -2347,10 +2365,18 @@ IPC_BEGIN_MESSAGES(ViewHost) int32, /* response_id */ string16 /* name */) + // WebIDBObjectStore::openCursor() message. + IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreOpenCursor, + ViewHostMsg_IDBObjectStoreOpenCursor_Params) + // WebIDBObjectStore::~WebIDBObjectStore() message. IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed, int32 /* idb_object_store_id */) + // WebIDBDatabase::~WebIDBCursor() message. + IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBCursorDestroyed, + int32 /* idb_cursor_id */) + // Get file size in bytes. Set result to -1 if failed to get the file size. IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, FilePath /* path */, |