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