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

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

Issue 289863005: [Mac] Maximise timer slack for background tabs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really rebase 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
« no previous file with comments | « 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. 114 // Sent to child processes to tell them to enter or leave background mode.
116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, 115 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
117 bool /* background */) 116 bool /* background */)
118 #endif
119 117
120 #if defined(USE_TCMALLOC) 118 #if defined(USE_TCMALLOC)
121 // Sent to child process to request tcmalloc stats. 119 // Sent to child process to request tcmalloc stats.
122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) 120 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
123 #endif 121 #endif
124 122
125 //////////////////////////////////////////////////////////////////////////////// 123 ////////////////////////////////////////////////////////////////////////////////
126 // Messages sent from the child process to the browser. 124 // Messages sent from the child process to the browser.
127 125
128 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) 126 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 std::string /* output */) 184 std::string /* output */)
187 #endif 185 #endif
188 186
189 // Asks the browser to create a gpu memory buffer. 187 // Asks the browser to create a gpu memory buffer.
190 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 188 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
191 uint32 /* width */, 189 uint32 /* width */,
192 uint32 /* height */, 190 uint32 /* height */,
193 uint32 /* internalformat */, 191 uint32 /* internalformat */,
194 uint32 /* usage */, 192 uint32 /* usage */,
195 gfx::GpuMemoryBufferHandle) 193 gfx::GpuMemoryBufferHandle)
OLDNEW
« no previous file with comments | « content/child/child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698