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

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

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoped_ptr<base::ScopedFD> instead of base::ScopedFD* 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
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) 118 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
119 #endif 119 #endif
120 120
121 #if defined(OS_MACOSX) 121 #if defined(OS_MACOSX)
122 // Sent to child processes to tell them what token to use when registering 122 // Sent to child processes to tell them what token to use when registering
123 // and/or acquiring IOSurfaces. 123 // and/or acquiring IOSurfaces.
124 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, 124 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken,
125 content::IOSurfaceManagerToken /* token */) 125 content::IOSurfaceManagerToken /* token */)
126 #endif 126 #endif
127 127
128 #if defined(USE_OZONE)
129 // Sent VGEM file descriptor to child processes to use when importing
130 // ClientNativePixmap.
131 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetVgemFD,
spang 2015/08/17 18:03:41 Maybe: ChildProcessMsg_InitializeClientNativePixm
dshwang 2015/08/18 14:14:39 Done.
132 base::FileDescriptor /* vgem_fd */)
133 #endif
128 //////////////////////////////////////////////////////////////////////////////// 134 ////////////////////////////////////////////////////////////////////////////////
129 // Messages sent from the child process to the browser. 135 // Messages sent from the child process to the browser.
130 136
131 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) 137 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
132 138
133 // Send back profiler data (ThreadData in tracked_objects). 139 // Send back profiler data (ThreadData in tracked_objects).
134 IPC_MESSAGE_CONTROL2( 140 IPC_MESSAGE_CONTROL2(
135 ChildProcessHostMsg_ChildProfilerData, 141 ChildProcessHostMsg_ChildProfilerData,
136 int, /* sequence_number */ 142 int, /* sequence_number */
137 tracked_objects::ProcessDataSnapshot /* process_data_snapshot */) 143 tracked_objects::ProcessDataSnapshot /* process_data_snapshot */)
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 IPC_SYNC_MESSAGE_CONTROL2_1( 211 IPC_SYNC_MESSAGE_CONTROL2_1(
206 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 212 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
207 uint32 /* size */, 213 uint32 /* size */,
208 content::DiscardableSharedMemoryId, 214 content::DiscardableSharedMemoryId,
209 base::SharedMemoryHandle) 215 base::SharedMemoryHandle)
210 216
211 // Informs the browser that the child deleted a block of discardable shared 217 // Informs the browser that the child deleted a block of discardable shared
212 // memory. 218 // memory.
213 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 219 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
214 content::DiscardableSharedMemoryId) 220 content::DiscardableSharedMemoryId)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698