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 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1389 | 1389 |
1390 #if defined(OS_WIN) | 1390 #if defined(OS_WIN) |
1391 // Duplicates a shared memory handle from the renderer to the browser. Then | 1391 // Duplicates a shared memory handle from the renderer to the browser. Then |
1392 // the renderer can flush the handle. | 1392 // the renderer can flush the handle. |
1393 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection, | 1393 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_DuplicateSection, |
1394 base::SharedMemoryHandle /* renderer handle */, | 1394 base::SharedMemoryHandle /* renderer handle */, |
1395 base::SharedMemoryHandle /* browser handle */) | 1395 base::SharedMemoryHandle /* browser handle */) |
1396 #endif | 1396 #endif |
1397 | 1397 |
1398 #if defined(OS_LINUX) | 1398 #if defined(OS_LINUX) |
1399 // Asks the browser create a block of shared memory for the renderer to fill | 1399 // Asks the browser create a temporary file for the renderer to fill |
1400 // in resulting NativeMetafile in printing. | 1400 // in resulting NativeMetafile in printing. |
1401 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_AllocateShareMemory, | 1401 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_AllocateTempFileForPrinting, |
1402 size_t /* buffer size */, | 1402 base::FileDescriptor /* temp file fd */, |
1403 base::SharedMemoryHandle /* browser handle */) | 1403 int /* fd in browser*/) |
| 1404 IPC_MESSAGE_CONTROL1(ViewHostMsg_TempFileForPrintingWritten, |
| 1405 int /* fd in browser */) |
1404 #endif | 1406 #endif |
1405 | 1407 |
1406 // Provide the browser process with information about the WebCore resource | 1408 // Provide the browser process with information about the WebCore resource |
1407 // cache. | 1409 // cache. |
1408 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, | 1410 IPC_MESSAGE_CONTROL1(ViewHostMsg_ResourceTypeStats, |
1409 WebKit::WebCache::ResourceTypeStats) | 1411 WebKit::WebCache::ResourceTypeStats) |
1410 | 1412 |
1411 // Notify the browser that this render process can or can't be suddenly | 1413 // Notify the browser that this render process can or can't be suddenly |
1412 // terminated. | 1414 // terminated. |
1413 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, | 1415 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1733 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, | 1735 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileAttributes, |
1734 FilePath /* the name of the file */, | 1736 FilePath /* the name of the file */, |
1735 int32 /* a unique message ID */) | 1737 int32 /* a unique message ID */) |
1736 | 1738 |
1737 // Asks the browser process to return the size of a DB file | 1739 // Asks the browser process to return the size of a DB file |
1738 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, | 1740 IPC_MESSAGE_CONTROL2(ViewHostMsg_DatabaseGetFileSize, |
1739 FilePath /* the name of the file */, | 1741 FilePath /* the name of the file */, |
1740 int32 /* a unique message ID */) | 1742 int32 /* a unique message ID */) |
1741 | 1743 |
1742 IPC_END_MESSAGES(ViewHost) | 1744 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |