| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Common IPC messages used for child processes. | 5 // Common IPC messages used for child processes. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData, | 104 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData, |
| 105 int /* sequence_number */) | 105 int /* sequence_number */) |
| 106 | 106 |
| 107 // Send to all the child processes to send back histogram data. | 107 // Send to all the child processes to send back histogram data. |
| 108 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, | 108 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, |
| 109 int /* sequence_number */) | 109 int /* sequence_number */) |
| 110 | 110 |
| 111 // Sent to child processes to dump their handle table. | 111 // Sent to child processes to dump their handle table. |
| 112 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) | 112 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) |
| 113 | 113 |
| 114 #if defined(OS_WIN) | |
| 115 // Sent to child processes to tell them to enter or leave background mode. | 114 // Sent to child processes to tell them to enter or leave background mode. |
| 116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, | 115 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, |
| 117 bool /* background */) | 116 bool /* background */) |
| 118 #endif | |
| 119 | 117 |
| 120 #if defined(USE_TCMALLOC) | 118 #if defined(USE_TCMALLOC) |
| 121 // Sent to child process to request tcmalloc stats. | 119 // Sent to child process to request tcmalloc stats. |
| 122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) | 120 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) |
| 123 #endif | 121 #endif |
| 124 | 122 |
| 125 //////////////////////////////////////////////////////////////////////////////// | 123 //////////////////////////////////////////////////////////////////////////////// |
| 126 // Messages sent from the child process to the browser. | 124 // Messages sent from the child process to the browser. |
| 127 | 125 |
| 128 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) | 126 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 std::string /* output */) | 184 std::string /* output */) |
| 187 #endif | 185 #endif |
| 188 | 186 |
| 189 // Asks the browser to create a gpu memory buffer. | 187 // Asks the browser to create a gpu memory buffer. |
| 190 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, | 188 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
| 191 uint32 /* width */, | 189 uint32 /* width */, |
| 192 uint32 /* height */, | 190 uint32 /* height */, |
| 193 uint32 /* internalformat */, | 191 uint32 /* internalformat */, |
| 194 uint32 /* usage */, | 192 uint32 /* usage */, |
| 195 gfx::GpuMemoryBufferHandle) | 193 gfx::GpuMemoryBufferHandle) |
| OLD | NEW |