| OLD | NEW |
| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // Release the cached font | 173 // Release the cached font |
| 174 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) | 174 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) |
| 175 #endif // defined(OS_WIN) | 175 #endif // defined(OS_WIN) |
| 176 | 176 |
| 177 // Asks the browser to create a block of shared memory for the child process to | 177 // Asks the browser to create a block of shared memory for the child process to |
| 178 // fill in and pass back to the browser. | 178 // fill in and pass back to the browser. |
| 179 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, | 179 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, |
| 180 uint32_t /* buffer size */, | 180 uint32_t /* buffer size */, |
| 181 base::SharedMemoryHandle) | 181 base::SharedMemoryHandle) |
| 182 | 182 |
| 183 // Asks the browser to create a block of shared memory for the child process to | |
| 184 // fill in and pass back to the browser. | |
| 185 IPC_SYNC_MESSAGE_CONTROL2_1(ChildProcessHostMsg_SyncAllocateSharedBitmap, | |
| 186 uint32_t /* buffer size */, | |
| 187 cc::SharedBitmapId, | |
| 188 base::SharedMemoryHandle) | |
| 189 | |
| 190 // Informs the browser that the child allocated a shared bitmap. | 183 // Informs the browser that the child allocated a shared bitmap. |
| 191 IPC_MESSAGE_CONTROL3(ChildProcessHostMsg_AllocatedSharedBitmap, | 184 IPC_MESSAGE_CONTROL3(ChildProcessHostMsg_AllocatedSharedBitmap, |
| 192 uint32_t /* buffer size */, | 185 uint32_t /* buffer size */, |
| 193 base::SharedMemoryHandle, | 186 base::SharedMemoryHandle, |
| 194 cc::SharedBitmapId) | 187 cc::SharedBitmapId) |
| 195 | 188 |
| 196 // Informs the browser that the child deleted a shared bitmap. | 189 // Informs the browser that the child deleted a shared bitmap. |
| 197 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap, | 190 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap, |
| 198 cc::SharedBitmapId) | 191 cc::SharedBitmapId) |
| 199 | 192 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 223 // memory. | 216 // memory. |
| 224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 217 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 225 discardable_memory::DiscardableSharedMemoryId) | 218 discardable_memory::DiscardableSharedMemoryId) |
| 226 | 219 |
| 227 #if defined(OS_LINUX) | 220 #if defined(OS_LINUX) |
| 228 // Asks the browser to change the priority of thread. | 221 // Asks the browser to change the priority of thread. |
| 229 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, | 222 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, |
| 230 base::PlatformThreadId, | 223 base::PlatformThreadId, |
| 231 base::ThreadPriority) | 224 base::ThreadPriority) |
| 232 #endif | 225 #endif |
| OLD | NEW |