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

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

Issue 1263913002: FREEZE.unindexed Base URL: https://chromium.googlesource.com/chromium/src.git@textures3
Patch Set: 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap, 178 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap,
179 cc::SharedBitmapId) 179 cc::SharedBitmapId)
180 180
181 #if defined(USE_TCMALLOC) 181 #if defined(USE_TCMALLOC)
182 // Reply to ChildProcessMsg_GetTcmallocStats. 182 // Reply to ChildProcessMsg_GetTcmallocStats.
183 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, 183 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats,
184 std::string /* output */) 184 std::string /* output */)
185 #endif 185 #endif
186 186
187 // Asks the browser to create a gpu memory buffer. 187 // Asks the browser to create a gpu memory buffer.
188 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 188 IPC_SYNC_MESSAGE_CONTROL5_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
189 gfx::GpuMemoryBufferId /* new_id */,
189 uint32 /* width */, 190 uint32 /* width */,
190 uint32 /* height */, 191 uint32 /* height */,
191 gfx::BufferFormat, 192 gfx::BufferFormat,
192 gfx::BufferUsage, 193 gfx::BufferUsage,
193 gfx::GpuMemoryBufferHandle) 194 gfx::GpuMemoryBufferHandle)
194 195
195 // Informs the browser that the child deleted a gpu memory buffer. 196 // Informs the browser that the child deleted a gpu memory buffer.
196 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, 197 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer,
197 gfx::GpuMemoryBufferId, 198 gfx::GpuMemoryBufferId,
198 uint32 /* sync_point */) 199 uint32 /* sync_point */)
199 200
200 // Asks the browser to create a block of discardable shared memory for the 201 // Asks the browser to create a block of discardable shared memory for the
201 // child process. 202 // child process.
202 IPC_SYNC_MESSAGE_CONTROL2_1( 203 IPC_SYNC_MESSAGE_CONTROL2_1(
203 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 204 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
204 uint32 /* size */, 205 uint32 /* size */,
205 content::DiscardableSharedMemoryId, 206 content::DiscardableSharedMemoryId,
206 base::SharedMemoryHandle) 207 base::SharedMemoryHandle)
207 208
208 // Informs the browser that the child deleted a block of discardable shared 209 // Informs the browser that the child deleted a block of discardable shared
209 // memory. 210 // memory.
210 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 211 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
211 content::DiscardableSharedMemoryId) 212 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/generic_shared_memory_id_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698