| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 | 191 |
| 192 // Asks the browser to create a gpu memory buffer. | 192 // Asks the browser to create a gpu memory buffer. |
| 193 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, | 193 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
| 194 uint32 /* width */, | 194 uint32 /* width */, |
| 195 uint32 /* height */, | 195 uint32 /* height */, |
| 196 gfx::GpuMemoryBuffer::Format, | 196 gfx::GpuMemoryBuffer::Format, |
| 197 gfx::GpuMemoryBuffer::Usage, | 197 gfx::GpuMemoryBuffer::Usage, |
| 198 gfx::GpuMemoryBufferHandle) | 198 gfx::GpuMemoryBufferHandle) |
| 199 | 199 |
| 200 // Informs the browser that the child deleted a gpu memory buffer. | 200 // Informs the browser that the child deleted a gpu memory buffer. |
| 201 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, | 201 IPC_MESSAGE_CONTROL3(ChildProcessHostMsg_DeletedGpuMemoryBuffer, |
| 202 gfx::GpuMemoryBufferType, | 202 gfx::GpuMemoryBufferType, |
| 203 gfx::GpuMemoryBufferId) | 203 gfx::GpuMemoryBufferId, |
| 204 uint32 /* sync_point */) |
| 204 | 205 |
| 205 // Asks the browser to create a block of discardable shared memory for the | 206 // Asks the browser to create a block of discardable shared memory for the |
| 206 // child process. | 207 // child process. |
| 207 IPC_SYNC_MESSAGE_CONTROL1_1( | 208 IPC_SYNC_MESSAGE_CONTROL1_1( |
| 208 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 209 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 209 uint32 /* size */, | 210 uint32 /* size */, |
| 210 base::SharedMemoryHandle) | 211 base::SharedMemoryHandle) |
| OLD | NEW |