| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) | 75 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) |
| 76 IPC_STRUCT_TRAITS_MEMBER(type) | 76 IPC_STRUCT_TRAITS_MEMBER(type) |
| 77 IPC_STRUCT_TRAITS_MEMBER(handle) | 77 IPC_STRUCT_TRAITS_MEMBER(handle) |
| 78 IPC_STRUCT_TRAITS_MEMBER(global_id) | 78 IPC_STRUCT_TRAITS_MEMBER(global_id) |
| 79 #if defined(OS_MACOSX) | 79 #if defined(OS_MACOSX) |
| 80 IPC_STRUCT_TRAITS_MEMBER(io_surface_id) | 80 IPC_STRUCT_TRAITS_MEMBER(io_surface_id) |
| 81 #endif | 81 #endif |
| 82 #if defined(OS_ANDROID) | 82 #if defined(OS_ANDROID) |
| 83 IPC_STRUCT_TRAITS_MEMBER(surface_texture_id) | 83 IPC_STRUCT_TRAITS_MEMBER(surface_texture_id) |
| 84 #endif | 84 #endif |
| 85 #if defined(USE_X11) |
| 86 IPC_STRUCT_TRAITS_MEMBER(pixmap) |
| 87 #endif |
| 85 IPC_STRUCT_TRAITS_END() | 88 IPC_STRUCT_TRAITS_END() |
| 86 | 89 |
| 87 #undef IPC_MESSAGE_EXPORT | 90 #undef IPC_MESSAGE_EXPORT |
| 88 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 91 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 89 | 92 |
| 90 #define IPC_MESSAGE_START ChildProcessMsgStart | 93 #define IPC_MESSAGE_START ChildProcessMsgStart |
| 91 | 94 |
| 92 // Messages sent from the browser to the child process. | 95 // Messages sent from the browser to the child process. |
| 93 | 96 |
| 94 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child | 97 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 std::string /* output */) | 193 std::string /* output */) |
| 191 #endif | 194 #endif |
| 192 | 195 |
| 193 // Asks the browser to create a gpu memory buffer. | 196 // Asks the browser to create a gpu memory buffer. |
| 194 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, | 197 IPC_SYNC_MESSAGE_CONTROL4_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, |
| 195 uint32 /* width */, | 198 uint32 /* width */, |
| 196 uint32 /* height */, | 199 uint32 /* height */, |
| 197 uint32 /* internalformat */, | 200 uint32 /* internalformat */, |
| 198 uint32 /* usage */, | 201 uint32 /* usage */, |
| 199 gfx::GpuMemoryBufferHandle) | 202 gfx::GpuMemoryBufferHandle) |
| OLD | NEW |