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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 IPC_STRUCT_TRAITS_END() | 63 IPC_STRUCT_TRAITS_END() |
64 | 64 |
65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, | 65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, |
66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) | 66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) |
67 | 67 |
68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) | 68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) |
69 IPC_STRUCT_TRAITS_MEMBER(id) | 69 IPC_STRUCT_TRAITS_MEMBER(id) |
70 IPC_STRUCT_TRAITS_MEMBER(type) | 70 IPC_STRUCT_TRAITS_MEMBER(type) |
71 IPC_STRUCT_TRAITS_MEMBER(handle) | 71 IPC_STRUCT_TRAITS_MEMBER(handle) |
72 IPC_STRUCT_TRAITS_MEMBER(offset) | 72 IPC_STRUCT_TRAITS_MEMBER(offset) |
73 IPC_STRUCT_TRAITS_MEMBER(stride) | |
74 #if defined(USE_OZONE) | 73 #if defined(USE_OZONE) |
75 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle) | 74 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle) |
76 #endif | 75 #endif |
77 IPC_STRUCT_TRAITS_END() | 76 IPC_STRUCT_TRAITS_END() |
78 | 77 |
79 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) | 78 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) |
80 IPC_STRUCT_TRAITS_MEMBER(id) | 79 IPC_STRUCT_TRAITS_MEMBER(id) |
81 IPC_STRUCT_TRAITS_END() | 80 IPC_STRUCT_TRAITS_END() |
82 | 81 |
83 #undef IPC_MESSAGE_EXPORT | 82 #undef IPC_MESSAGE_EXPORT |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 IPC_SYNC_MESSAGE_CONTROL2_1( | 218 IPC_SYNC_MESSAGE_CONTROL2_1( |
220 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 219 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
221 uint32 /* size */, | 220 uint32 /* size */, |
222 content::DiscardableSharedMemoryId, | 221 content::DiscardableSharedMemoryId, |
223 base::SharedMemoryHandle) | 222 base::SharedMemoryHandle) |
224 | 223 |
225 // Informs the browser that the child deleted a block of discardable shared | 224 // Informs the browser that the child deleted a block of discardable shared |
226 // memory. | 225 // memory. |
227 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 226 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
228 content::DiscardableSharedMemoryId) | 227 content::DiscardableSharedMemoryId) |
OLD | NEW |