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

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

Issue 305533006: Control process backgrounding from within the child process on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix other platforms. Created 6 years, 6 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 | Annotate | Revision Log
« content/child/child_thread.cc ('K') | « content/child/child_thread.cc ('k') | no next file » | 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData, 104 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData,
105 int /* sequence_number */) 105 int /* sequence_number */)
106 106
107 // Send to all the child processes to send back histogram data. 107 // Send to all the child processes to send back histogram data.
108 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, 108 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
109 int /* sequence_number */) 109 int /* sequence_number */)
110 110
111 // Sent to child processes to dump their handle table. 111 // Sent to child processes to dump their handle table.
112 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) 112 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles)
113 113
114 #if defined(OS_WIN)
115 // Sent to child processes to tell them to enter or leave background mode.
116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
117 bool /* should background? */)
nasko 2014/05/28 23:08:37 nit: the comment is usually the parameter name in
DaleCurtis 2014/05/29 00:06:59 Done.
118 #endif
119
114 #if defined(USE_TCMALLOC) 120 #if defined(USE_TCMALLOC)
115 // Sent to child process to request tcmalloc stats. 121 // Sent to child process to request tcmalloc stats.
116 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) 122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
117 #endif 123 #endif
118 124
119 //////////////////////////////////////////////////////////////////////////////// 125 ////////////////////////////////////////////////////////////////////////////////
120 // Messages sent from the child process to the browser. 126 // Messages sent from the child process to the browser.
121 127
122 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) 128 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
123 129
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 std::string /* output */) 186 std::string /* output */)
181 #endif 187 #endif
182 188
183 // Asks the browser to create a gpu memory buffer. 189 // Asks the browser to create a gpu memory buffer.
184 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 190 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
185 uint32 /* width */, 191 uint32 /* width */,
186 uint32 /* height */, 192 uint32 /* height */,
187 uint32 /* internalformat */, 193 uint32 /* internalformat */,
188 uint32 /* usage */, 194 uint32 /* usage */,
189 gfx::GpuMemoryBufferHandle) 195 gfx::GpuMemoryBufferHandle)
OLDNEW
« content/child/child_thread.cc ('K') | « content/child/child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698