| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap, | 178 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap, |
| 179 cc::SharedBitmapId) | 179 cc::SharedBitmapId) |
| 180 | 180 |
| 181 #if defined(USE_TCMALLOC) | 181 #if defined(USE_TCMALLOC) |
| 182 // Reply to ChildProcessMsg_GetTcmallocStats. | 182 // Reply to ChildProcessMsg_GetTcmallocStats. |
| 183 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, | 183 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, |
| 184 std::string /* output */) | 184 std::string /* output */) |
| 185 #endif | 185 #endif |
| 186 | 186 |
| 187 // Asks the browser to create a gpu memory buffer. | 187 // Asks the browser to create a gpu memory buffer. |
| 188 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, | 188 IPC_SYNC_MESSAGE_CONTROL5_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
| 189 gfx::GpuMemoryBufferId /* new_id */, |
| 189 uint32 /* width */, | 190 uint32 /* width */, |
| 190 uint32 /* height */, | 191 uint32 /* height */, |
| 191 gfx::BufferFormat, | 192 gfx::BufferFormat, |
| 192 gfx::BufferUsage, | 193 gfx::BufferUsage, |
| 193 gfx::GpuMemoryBufferHandle) | 194 gfx::GpuMemoryBufferHandle) |
| 194 | 195 |
| 195 // Informs the browser that the child deleted a gpu memory buffer. | 196 // Informs the browser that the child deleted a gpu memory buffer. |
| 196 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, | 197 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, |
| 197 gfx::GpuMemoryBufferId, | 198 gfx::GpuMemoryBufferId, |
| 198 uint32 /* sync_point */) | 199 uint32 /* sync_point */) |
| 199 | 200 |
| 200 // Asks the browser to create a block of discardable shared memory for the | 201 // Asks the browser to create a block of discardable shared memory for the |
| 201 // child process. | 202 // child process. |
| 202 IPC_SYNC_MESSAGE_CONTROL2_1( | 203 IPC_SYNC_MESSAGE_CONTROL2_1( |
| 203 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 204 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 204 uint32 /* size */, | 205 uint32 /* size */, |
| 205 content::DiscardableSharedMemoryId, | 206 content::DiscardableSharedMemoryId, |
| 206 base::SharedMemoryHandle) | 207 base::SharedMemoryHandle) |
| 207 | 208 |
| 208 // Informs the browser that the child deleted a block of discardable shared | 209 // Informs the browser that the child deleted a block of discardable shared |
| 209 // memory. | 210 // memory. |
| 210 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 211 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 211 content::DiscardableSharedMemoryId) | 212 content::DiscardableSharedMemoryId) |
| OLD | NEW |