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

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: remove redundant Pass() Created 5 years, 3 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 | « content/child/child_thread_impl.cc ('k') | content/test/content_test_suite.cc » ('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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) 122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
123 #endif 123 #endif
124 124
125 #if defined(OS_MACOSX) 125 #if defined(OS_MACOSX)
126 // Sent to child processes to tell them what token to use when registering 126 // Sent to child processes to tell them what token to use when registering
127 // and/or acquiring IOSurfaces. 127 // and/or acquiring IOSurfaces.
128 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, 128 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken,
129 content::IOSurfaceManagerToken /* token */) 129 content::IOSurfaceManagerToken /* token */)
130 #endif 130 #endif
131 131
132 #if defined(USE_OZONE)
133 // Sent to child processes to initialize ClientNativePixmapFactory using
134 // a device file descriptor.
135 IPC_MESSAGE_CONTROL1(ChildProcessMsg_InitializeClientNativePixmapFactory,
136 base::FileDescriptor /* device_fd */)
137 #endif
132 //////////////////////////////////////////////////////////////////////////////// 138 ////////////////////////////////////////////////////////////////////////////////
133 // Messages sent from the child process to the browser. 139 // Messages sent from the child process to the browser.
134 140
135 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) 141 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
136 142
137 // Send back profiler data (ThreadData in tracked_objects). 143 // Send back profiler data (ThreadData in tracked_objects).
138 IPC_MESSAGE_CONTROL2( 144 IPC_MESSAGE_CONTROL2(
139 ChildProcessHostMsg_ChildProfilerData, 145 ChildProcessHostMsg_ChildProfilerData,
140 int, /* sequence_number */ 146 int, /* sequence_number */
141 tracked_objects::ProcessDataSnapshot /* process_data_snapshot */) 147 tracked_objects::ProcessDataSnapshot /* process_data_snapshot */)
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 IPC_SYNC_MESSAGE_CONTROL2_1( 216 IPC_SYNC_MESSAGE_CONTROL2_1(
211 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 217 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
212 uint32 /* size */, 218 uint32 /* size */,
213 content::DiscardableSharedMemoryId, 219 content::DiscardableSharedMemoryId,
214 base::SharedMemoryHandle) 220 base::SharedMemoryHandle)
215 221
216 // Informs the browser that the child deleted a block of discardable shared 222 // Informs the browser that the child deleted a block of discardable shared
217 // memory. 223 // memory.
218 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
219 content::DiscardableSharedMemoryId) 225 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/test/content_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698