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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) | 122 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats) |
123 #endif | 123 #endif |
124 | 124 |
125 #if defined(OS_MACOSX) | 125 #if defined(OS_MACOSX) |
126 // Sent to child processes to tell them what token to use when registering | 126 // Sent to child processes to tell them what token to use when registering |
127 // and/or acquiring IOSurfaces. | 127 // and/or acquiring IOSurfaces. |
128 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, | 128 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, |
129 content::IOSurfaceManagerToken /* token */) | 129 content::IOSurfaceManagerToken /* token */) |
130 #endif | 130 #endif |
131 | 131 |
| 132 #if defined(USE_OZONE) |
| 133 // Sent to child processes to initialize ClientNativePixmapFactory using |
| 134 // a device file descriptor. |
| 135 IPC_MESSAGE_CONTROL1(ChildProcessMsg_InitializeClientNativePixmapFactory, |
| 136 base::FileDescriptor /* device_fd */) |
| 137 #endif |
132 //////////////////////////////////////////////////////////////////////////////// | 138 //////////////////////////////////////////////////////////////////////////////// |
133 // Messages sent from the child process to the browser. | 139 // Messages sent from the child process to the browser. |
134 | 140 |
135 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) | 141 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) |
136 | 142 |
137 // Send back profiler data (ThreadData in tracked_objects). | 143 // Send back profiler data (ThreadData in tracked_objects). |
138 IPC_MESSAGE_CONTROL2( | 144 IPC_MESSAGE_CONTROL2( |
139 ChildProcessHostMsg_ChildProfilerData, | 145 ChildProcessHostMsg_ChildProfilerData, |
140 int, /* sequence_number */ | 146 int, /* sequence_number */ |
141 tracked_objects::ProcessDataSnapshot /* process_data_snapshot */) | 147 tracked_objects::ProcessDataSnapshot /* process_data_snapshot */) |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 IPC_SYNC_MESSAGE_CONTROL2_1( | 216 IPC_SYNC_MESSAGE_CONTROL2_1( |
211 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 217 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
212 uint32 /* size */, | 218 uint32 /* size */, |
213 content::DiscardableSharedMemoryId, | 219 content::DiscardableSharedMemoryId, |
214 base::SharedMemoryHandle) | 220 base::SharedMemoryHandle) |
215 | 221 |
216 // Informs the browser that the child deleted a block of discardable shared | 222 // Informs the browser that the child deleted a block of discardable shared |
217 // memory. | 223 // memory. |
218 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
219 content::DiscardableSharedMemoryId) | 225 content::DiscardableSharedMemoryId) |
OLD | NEW |