OLD | NEW |
---|---|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1331 // Sent by the renderer process to acknowledge receipt of a | 1331 // Sent by the renderer process to acknowledge receipt of a |
1332 // DownloadProgress message. | 1332 // DownloadProgress message. |
1333 IPC_MESSAGE_ROUTED1(ViewHostMsg_DownloadProgress_ACK, | 1333 IPC_MESSAGE_ROUTED1(ViewHostMsg_DownloadProgress_ACK, |
1334 int /* request_id */) | 1334 int /* request_id */) |
1335 | 1335 |
1336 // Sent by the renderer process to acknowledge receipt of a | 1336 // Sent by the renderer process to acknowledge receipt of a |
1337 // UploadProgress message. | 1337 // UploadProgress message. |
1338 IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK, | 1338 IPC_MESSAGE_ROUTED1(ViewHostMsg_UploadProgress_ACK, |
1339 int /* request_id */) | 1339 int /* request_id */) |
1340 | 1340 |
1341 #if defined(OS_WIN) | |
1341 // Duplicates a shared memory handle from the renderer to the browser. Then | 1342 // Duplicates a shared memory handle from the renderer to the browser. Then |
1342 // the renderer can flush the handle. | 1343 // the renderer can flush the handle. |
1343 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection, | 1344 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection, |
1344 base::SharedMemoryHandle /* renderer handle */, | 1345 base::SharedMemoryHandle /* renderer handle */, |
M-A Ruel
2009/09/08 14:38:51
broke alignment
| |
1346 base::SharedMemoryHandle /* browser handle */) | |
1347 #endif | |
1348 | |
1349 #if defined(OS_LINUX) | |
1350 // Asks the browser create a block of shared memory for the renderer to fill | |
1351 // in resulting NativeMetafile in printing. | |
1352 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_AllocateShareMemory, | |
1353 size_t /* buffer size */, | |
1345 base::SharedMemoryHandle /* browser handle */) | 1354 base::SharedMemoryHandle /* browser handle */) |
1355 #endif | |
1346 | 1356 |
1347 // Provide the browser process with information about the WebCore resource | 1357 // Provide the browser process with information about the WebCore resource |
1348 // cache. | 1358 // cache. |
1349 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, | 1359 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, |
1350 WebKit::WebCache::ResourceTypeStats) | 1360 WebKit::WebCache::ResourceTypeStats) |
1351 | 1361 |
1352 // Notify the browser that this render process can or can't be suddenly | 1362 // Notify the browser that this render process can or can't be suddenly |
1353 // terminated. | 1363 // terminated. |
1354 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, | 1364 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, |
1355 bool /* enabled */) | 1365 bool /* enabled */) |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1692 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1702 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1693 FilePath /* the name of the file */, | 1703 FilePath /* the name of the file */, |
1694 int32 /* a unique message ID */) | 1704 int32 /* a unique message ID */) |
1695 | 1705 |
1696 // Asks the browser process to return the size of a DB file | 1706 // Asks the browser process to return the size of a DB file |
1697 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1707 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1698 FilePath /* the name of the file */, | 1708 FilePath /* the name of the file */, |
1699 int32 /* a unique message ID */) | 1709 int32 /* a unique message ID */) |
1700 | 1710 |
1701 IPC_END_MESSAGES(ViewHost) | 1711 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |