| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 IPC_STRUCT_TRAITS_MEMBER(process_id) | 56 IPC_STRUCT_TRAITS_MEMBER(process_id) |
| 57 IPC_STRUCT_TRAITS_END() | 57 IPC_STRUCT_TRAITS_END() |
| 58 | 58 |
| 59 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, | 59 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, |
| 60 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) | 60 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) |
| 61 | 61 |
| 62 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) | 62 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) |
| 63 IPC_STRUCT_TRAITS_MEMBER(id) | 63 IPC_STRUCT_TRAITS_MEMBER(id) |
| 64 IPC_STRUCT_TRAITS_MEMBER(type) | 64 IPC_STRUCT_TRAITS_MEMBER(type) |
| 65 IPC_STRUCT_TRAITS_MEMBER(handle) | 65 IPC_STRUCT_TRAITS_MEMBER(handle) |
| 66 #if defined(OS_MACOSX) | |
| 67 IPC_STRUCT_TRAITS_MEMBER(io_surface_id) | |
| 68 #endif | |
| 69 IPC_STRUCT_TRAITS_END() | 66 IPC_STRUCT_TRAITS_END() |
| 70 | 67 |
| 71 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Format, | 68 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Format, |
| 72 gfx::GpuMemoryBuffer::FORMAT_LAST) | 69 gfx::GpuMemoryBuffer::FORMAT_LAST) |
| 73 | 70 |
| 74 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Usage, | 71 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBuffer::Usage, |
| 75 gfx::GpuMemoryBuffer::USAGE_LAST) | 72 gfx::GpuMemoryBuffer::USAGE_LAST) |
| 76 | 73 |
| 77 #undef IPC_MESSAGE_EXPORT | 74 #undef IPC_MESSAGE_EXPORT |
| 78 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 75 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 IPC_SYNC_MESSAGE_CONTROL2_1( | 196 IPC_SYNC_MESSAGE_CONTROL2_1( |
| 200 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 197 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 201 uint32 /* size */, | 198 uint32 /* size */, |
| 202 content::DiscardableSharedMemoryId, | 199 content::DiscardableSharedMemoryId, |
| 203 base::SharedMemoryHandle) | 200 base::SharedMemoryHandle) |
| 204 | 201 |
| 205 // Informs the browser that the child deleted a block of discardable shared | 202 // Informs the browser that the child deleted a block of discardable shared |
| 206 // memory. | 203 // memory. |
| 207 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 204 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 208 content::DiscardableSharedMemoryId) | 205 content::DiscardableSharedMemoryId) |
| OLD | NEW |