Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: content/common/child_process_messages.h

Issue 1263323004: Add NativePixmapHandle type & interface for exporting them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast build Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 IPC_STRUCT_TRAITS_MEMBER(process_id) 61 IPC_STRUCT_TRAITS_MEMBER(process_id)
62 IPC_STRUCT_TRAITS_END() 62 IPC_STRUCT_TRAITS_END()
63 63
64 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, 64 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType,
65 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) 65 gfx::GPU_MEMORY_BUFFER_TYPE_LAST)
66 66
67 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) 67 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
68 IPC_STRUCT_TRAITS_MEMBER(id) 68 IPC_STRUCT_TRAITS_MEMBER(id)
69 IPC_STRUCT_TRAITS_MEMBER(type) 69 IPC_STRUCT_TRAITS_MEMBER(type)
70 IPC_STRUCT_TRAITS_MEMBER(handle) 70 IPC_STRUCT_TRAITS_MEMBER(handle)
71 #if defined(USE_OZONE)
72 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle)
73 #endif
71 IPC_STRUCT_TRAITS_END() 74 IPC_STRUCT_TRAITS_END()
72 75
73 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) 76 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
74 IPC_STRUCT_TRAITS_MEMBER(id) 77 IPC_STRUCT_TRAITS_MEMBER(id)
75 IPC_STRUCT_TRAITS_END() 78 IPC_STRUCT_TRAITS_END()
76 79
77 #undef IPC_MESSAGE_EXPORT 80 #undef IPC_MESSAGE_EXPORT
78 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 81 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
79 82
80 #define IPC_MESSAGE_START ChildProcessMsgStart 83 #define IPC_MESSAGE_START ChildProcessMsgStart
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 IPC_SYNC_MESSAGE_CONTROL2_1( 210 IPC_SYNC_MESSAGE_CONTROL2_1(
208 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 211 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
209 uint32 /* size */, 212 uint32 /* size */,
210 content::DiscardableSharedMemoryId, 213 content::DiscardableSharedMemoryId,
211 base::SharedMemoryHandle) 214 base::SharedMemoryHandle)
212 215
213 // Informs the browser that the child deleted a block of discardable shared 216 // Informs the browser that the child deleted a block of discardable shared
214 // memory. 217 // memory.
215 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 218 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
216 content::DiscardableSharedMemoryId) 219 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698