| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, | 121 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, |
| 122 bool /* background */) | 122 bool /* background */) |
| 123 | 123 |
| 124 #if defined(OS_MACOSX) | 124 #if defined(OS_MACOSX) |
| 125 // Sent to child processes to tell them what token to use when registering | 125 // Sent to child processes to tell them what token to use when registering |
| 126 // and/or acquiring IOSurfaces. | 126 // and/or acquiring IOSurfaces. |
| 127 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, | 127 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, |
| 128 content::IOSurfaceManagerToken /* token */) | 128 content::IOSurfaceManagerToken /* token */) |
| 129 #endif | 129 #endif |
| 130 | 130 |
| 131 #if defined(OS_WIN) | |
| 132 // Sends a pipe used by the child process to broker passing of Mojo handles. | 131 // Sends a pipe used by the child process to broker passing of Mojo handles. |
| 133 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle, | 132 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle, |
| 134 IPC::PlatformFileForTransit /* handle */) | 133 IPC::PlatformFileForTransit /* handle */) |
| 135 #endif | |
| 136 | 134 |
| 137 #if defined(USE_OZONE) | 135 #if defined(USE_OZONE) |
| 138 // Sent to child processes to initialize ClientNativePixmapFactory using | 136 // Sent to child processes to initialize ClientNativePixmapFactory using |
| 139 // a device file descriptor. | 137 // a device file descriptor. |
| 140 IPC_MESSAGE_CONTROL1(ChildProcessMsg_InitializeClientNativePixmapFactory, | 138 IPC_MESSAGE_CONTROL1(ChildProcessMsg_InitializeClientNativePixmapFactory, |
| 141 base::FileDescriptor /* device_fd */) | 139 base::FileDescriptor /* device_fd */) |
| 142 #endif | 140 #endif |
| 143 //////////////////////////////////////////////////////////////////////////////// | 141 //////////////////////////////////////////////////////////////////////////////// |
| 144 // Messages sent from the child process to the browser. | 142 // Messages sent from the child process to the browser. |
| 145 | 143 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 IPC_SYNC_MESSAGE_CONTROL2_1( | 213 IPC_SYNC_MESSAGE_CONTROL2_1( |
| 216 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 214 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 217 uint32 /* size */, | 215 uint32 /* size */, |
| 218 content::DiscardableSharedMemoryId, | 216 content::DiscardableSharedMemoryId, |
| 219 base::SharedMemoryHandle) | 217 base::SharedMemoryHandle) |
| 220 | 218 |
| 221 // Informs the browser that the child deleted a block of discardable shared | 219 // Informs the browser that the child deleted a block of discardable shared |
| 222 // memory. | 220 // memory. |
| 223 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 221 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 224 content::DiscardableSharedMemoryId) | 222 content::DiscardableSharedMemoryId) |
| OLD | NEW |