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

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

Issue 1262043002: Implement DRM Native Pixmap using prime buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-master
Patch Set: remove drm header Created 4 years, 8 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/common/BUILD.gn ('k') | content/common/sandbox_linux/bpf_renderer_policy_linux.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 int /* sequence_number */) 106 int /* sequence_number */)
107 107
108 // Sent to child processes to tell them to enter or leave background mode. 108 // Sent to child processes to tell them to enter or leave background mode.
109 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, 109 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
110 bool /* background */) 110 bool /* background */)
111 111
112 // Sends a pipe used by the child process to broker passing of Mojo handles. 112 // Sends a pipe used by the child process to broker passing of Mojo handles.
113 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle, 113 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle,
114 IPC::PlatformFileForTransit /* handle */) 114 IPC::PlatformFileForTransit /* handle */)
115 115
116 #if defined(USE_OZONE)
117 // Sent to child processes to initialize ClientNativePixmapFactory using
118 // a device file descriptor.
119 IPC_MESSAGE_CONTROL1(ChildProcessMsg_InitializeClientNativePixmapFactory,
120 base::FileDescriptor /* device_fd */)
121 #endif
122 //////////////////////////////////////////////////////////////////////////////// 116 ////////////////////////////////////////////////////////////////////////////////
123 // Messages sent from the child process to the browser. 117 // Messages sent from the child process to the browser.
124 118
125 // A renderer sends this when it wants to create a connection to the GPU 119 // A renderer sends this when it wants to create a connection to the GPU
126 // process. The browser will create the GPU process if necessary, and will 120 // process. The browser will create the GPU process if necessary, and will
127 // return a handle to the channel via a GpuChannelEstablished message. 121 // return a handle to the channel via a GpuChannelEstablished message.
128 IPC_SYNC_MESSAGE_CONTROL1_3(ChildProcessHostMsg_EstablishGpuChannel, 122 IPC_SYNC_MESSAGE_CONTROL1_3(ChildProcessHostMsg_EstablishGpuChannel,
129 content::CauseForGpuLaunch, 123 content::CauseForGpuLaunch,
130 int /* client id */, 124 int /* client id */,
131 IPC::ChannelHandle /* handle to channel */, 125 IPC::ChannelHandle /* handle to channel */,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 IPC_SYNC_MESSAGE_CONTROL2_1( 201 IPC_SYNC_MESSAGE_CONTROL2_1(
208 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 202 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
209 uint32_t /* size */, 203 uint32_t /* size */,
210 content::DiscardableSharedMemoryId, 204 content::DiscardableSharedMemoryId,
211 base::SharedMemoryHandle) 205 base::SharedMemoryHandle)
212 206
213 // Informs the browser that the child deleted a block of discardable shared 207 // Informs the browser that the child deleted a block of discardable shared
214 // memory. 208 // memory.
215 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 209 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
216 content::DiscardableSharedMemoryId) 210 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/sandbox_linux/bpf_renderer_policy_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698