Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 866 int32 /* response_id */, | 866 int32 /* response_id */, |
| 867 int32 /* idb_index_id */) | 867 int32 /* idb_index_id */) |
| 868 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessSerializedScriptValue, | 868 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessSerializedScriptValue, |
| 869 int32 /* response_id */, | 869 int32 /* response_id */, |
| 870 SerializedScriptValue /* serialized_script_value */) | 870 SerializedScriptValue /* serialized_script_value */) |
| 871 IPC_MESSAGE_CONTROL3(ViewMsg_IDBCallbacksError, | 871 IPC_MESSAGE_CONTROL3(ViewMsg_IDBCallbacksError, |
| 872 int32 /* response_id */, | 872 int32 /* response_id */, |
| 873 int /* code */, | 873 int /* code */, |
| 874 string16 /* message */) | 874 string16 /* message */) |
| 875 | 875 |
| 876 // IDBTransactionCallback message handlers. | |
| 877 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksAbort, | |
| 878 int /* transaction_id */) | |
| 879 | |
| 876 #if defined(IPC_MESSAGE_LOG_ENABLED) | 880 #if defined(IPC_MESSAGE_LOG_ENABLED) |
| 877 // Tell the renderer process to begin or end IPC message logging. | 881 // Tell the renderer process to begin or end IPC message logging. |
| 878 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, | 882 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, |
| 879 bool /* on or off */) | 883 bool /* on or off */) |
| 880 #endif | 884 #endif |
| 881 | 885 |
| 882 // Socket Stream messages: | 886 // Socket Stream messages: |
| 883 // These are messages from the browser to the SocketStreamHandle on | 887 // These are messages from the browser to the SocketStreamHandle on |
| 884 // a renderer. | 888 // a renderer. |
| 885 | 889 |
| (...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2227 // Clear the storage area. | 2231 // Clear the storage area. |
| 2228 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, | 2232 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, |
| 2229 int64 /* storage_area_id */, | 2233 int64 /* storage_area_id */, |
| 2230 GURL /* url */, | 2234 GURL /* url */, |
| 2231 bool /* something_cleared */) | 2235 bool /* something_cleared */) |
| 2232 | 2236 |
| 2233 // WebIDBFactory::open() message. | 2237 // WebIDBFactory::open() message. |
| 2234 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryOpen, | 2238 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryOpen, |
| 2235 ViewHostMsg_IDBFactoryOpen_Params) | 2239 ViewHostMsg_IDBFactoryOpen_Params) |
| 2236 | 2240 |
| 2241 // WebIDBFactory::abortPendingTransactions() message. | |
| 2242 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryAbortPendingTransactions, | |
| 2243 std::vector<int32> /* transaction_ids */) | |
| 2244 | |
| 2237 // WebIDBDatabase::name() message. | 2245 // WebIDBDatabase::name() message. |
| 2238 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseName, | 2246 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseName, |
| 2239 int32, /* idb_database_id */ | 2247 int32, /* idb_database_id */ |
| 2240 string16 /* name */) | 2248 string16 /* name */) |
| 2241 | 2249 |
| 2242 // WebIDBDatabase::description() message. | 2250 // WebIDBDatabase::description() message. |
| 2243 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseDescription, | 2251 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseDescription, |
| 2244 int32, /* idb_database_id */ | 2252 int32, /* idb_database_id */ |
| 2245 string16 /* description */) | 2253 string16 /* description */) |
| 2246 | 2254 |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 2265 int32, /* mode */ | 2273 int32, /* mode */ |
| 2266 bool, /* success */ | 2274 bool, /* success */ |
| 2267 int32 /* idb_object_store_id */) | 2275 int32 /* idb_object_store_id */) |
| 2268 | 2276 |
| 2269 // WebIDBDatabase::removeObjectStore() message. | 2277 // WebIDBDatabase::removeObjectStore() message. |
| 2270 IPC_MESSAGE_CONTROL3(ViewHostMsg_IDBDatabaseRemoveObjectStore, | 2278 IPC_MESSAGE_CONTROL3(ViewHostMsg_IDBDatabaseRemoveObjectStore, |
| 2271 int32, /* idb_database_id */ | 2279 int32, /* idb_database_id */ |
| 2272 int32, /* response_id */ | 2280 int32, /* response_id */ |
| 2273 string16 /* name */) | 2281 string16 /* name */) |
| 2274 | 2282 |
| 2283 // WebIDBDatabase::transaction() message. | |
| 2284 // TODO: make this message async. | |
|
jorlow
2010/08/19 13:05:34
Caps M. Maybe add a few more details since we alr
| |
| 2285 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBDatabaseTransaction, | |
| 2286 int32, /* idb_database_id */ | |
| 2287 std::vector<string16>, /* object_stores */ | |
| 2288 int32, /* mode */ | |
| 2289 int32, /* timeout */ | |
| 2290 int32 /* idb_transaction_id */) | |
| 2291 | |
| 2275 // WebIDBDatabase::~WebIDBDatabase() message. | 2292 // WebIDBDatabase::~WebIDBDatabase() message. |
| 2276 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBDatabaseDestroyed, | 2293 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBDatabaseDestroyed, |
| 2277 int32 /* idb_database_id */) | 2294 int32 /* idb_database_id */) |
| 2278 | 2295 |
| 2279 // WebIDBIndex::name() message. | 2296 // WebIDBIndex::name() message. |
| 2280 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexName, | 2297 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexName, |
| 2281 int32, /* idb_index_id */ | 2298 int32, /* idb_index_id */ |
| 2282 string16 /* name */) | 2299 string16 /* name */) |
| 2283 | 2300 |
| 2284 // WebIDBIndex::keyPath() message. | 2301 // WebIDBIndex::keyPath() message. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2344 // WebIDBObjectStore::removeIndex() message. | 2361 // WebIDBObjectStore::removeIndex() message. |
| 2345 IPC_MESSAGE_CONTROL3(ViewHostMsg_IDBObjectStoreRemoveIndex, | 2362 IPC_MESSAGE_CONTROL3(ViewHostMsg_IDBObjectStoreRemoveIndex, |
| 2346 int32, /* idb_object_store_id */ | 2363 int32, /* idb_object_store_id */ |
| 2347 int32, /* response_id */ | 2364 int32, /* response_id */ |
| 2348 string16 /* name */) | 2365 string16 /* name */) |
| 2349 | 2366 |
| 2350 // WebIDBObjectStore::~WebIDBObjectStore() message. | 2367 // WebIDBObjectStore::~WebIDBObjectStore() message. |
| 2351 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed, | 2368 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed, |
| 2352 int32 /* idb_object_store_id */) | 2369 int32 /* idb_object_store_id */) |
| 2353 | 2370 |
| 2371 // WebIDBTransaction::~WebIDBTransaction() message. | |
| 2372 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDestroyed, | |
| 2373 int32 /* idb_index_id */) | |
| 2374 | |
| 2354 // Get file size in bytes. Set result to -1 if failed to get the file size. | 2375 // Get file size in bytes. Set result to -1 if failed to get the file size. |
| 2355 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, | 2376 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileSize, |
| 2356 FilePath /* path */, | 2377 FilePath /* path */, |
| 2357 int64 /* result */) | 2378 int64 /* result */) |
| 2358 | 2379 |
| 2359 // Get file modification time in seconds. Set result to 0 if failed to get the | 2380 // Get file modification time in seconds. Set result to 0 if failed to get the |
| 2360 // file modification time. | 2381 // file modification time. |
| 2361 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, | 2382 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, |
| 2362 FilePath /* path */, | 2383 FilePath /* path */, |
| 2363 base::Time /* result */) | 2384 base::Time /* result */) |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2577 int /* render_view_id */) | 2598 int /* render_view_id */) |
| 2578 | 2599 |
| 2579 // Requests the speech input service to stop audio recording on behalf of | 2600 // Requests the speech input service to stop audio recording on behalf of |
| 2580 // the given |render_view_id|. Any audio recorded so far will be fed to the | 2601 // the given |render_view_id|. Any audio recorded so far will be fed to the |
| 2581 // speech recognizer. If speech recognition is not happening nor or is | 2602 // speech recognizer. If speech recognition is not happening nor or is |
| 2582 // happening on behalf of some other render view, this call does nothing. | 2603 // happening on behalf of some other render view, this call does nothing. |
| 2583 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, | 2604 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, |
| 2584 int /* render_view_id */) | 2605 int /* render_view_id */) |
| 2585 | 2606 |
| 2586 IPC_END_MESSAGES(ViewHost) | 2607 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |