| 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 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
| 6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 39 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
| 40 IPC_STRUCT_MEMBER(GURL, active_url) | 40 IPC_STRUCT_MEMBER(GURL, active_url) |
| 41 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 41 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
| 42 IPC_STRUCT_END() | 42 IPC_STRUCT_END() |
| 43 | 43 |
| 44 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceNew_Params) | 44 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceNew_Params) |
| 45 IPC_STRUCT_MEMBER(int32, surface_id) | 45 IPC_STRUCT_MEMBER(int32, surface_id) |
| 46 IPC_STRUCT_MEMBER(int32, width) | 46 IPC_STRUCT_MEMBER(int32, width) |
| 47 IPC_STRUCT_MEMBER(int32, height) | 47 IPC_STRUCT_MEMBER(int32, height) |
| 48 IPC_STRUCT_MEMBER(uint64, surface_handle) | 48 IPC_STRUCT_MEMBER(uint64, surface_handle) |
| 49 IPC_STRUCT_MEMBER(std::string, mailbox_name) |
| 49 IPC_STRUCT_MEMBER(int32, route_id) | 50 IPC_STRUCT_MEMBER(int32, route_id) |
| 50 #if defined(OS_MACOSX) | 51 #if defined(OS_MACOSX) |
| 51 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) | 52 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) |
| 52 IPC_STRUCT_MEMBER(bool, create_transport_dib) | 53 IPC_STRUCT_MEMBER(bool, create_transport_dib) |
| 53 #endif | 54 #endif |
| 54 IPC_STRUCT_END() | 55 IPC_STRUCT_END() |
| 55 | 56 |
| 56 #undef IPC_MESSAGE_EXPORT | 57 #undef IPC_MESSAGE_EXPORT |
| 57 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 58 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 58 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 59 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer) | 178 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer) |
| 178 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) | 179 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) |
| 179 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) | 180 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) |
| 180 IPC_STRUCT_TRAITS_END() | 181 IPC_STRUCT_TRAITS_END() |
| 181 | 182 |
| 182 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) | 183 IPC_STRUCT_TRAITS_BEGIN(gfx::GLSurfaceHandle) |
| 183 IPC_STRUCT_TRAITS_MEMBER(handle) | 184 IPC_STRUCT_TRAITS_MEMBER(handle) |
| 184 IPC_STRUCT_TRAITS_MEMBER(transport) | 185 IPC_STRUCT_TRAITS_MEMBER(transport) |
| 185 IPC_STRUCT_TRAITS_MEMBER(parent_gpu_process_id) | 186 IPC_STRUCT_TRAITS_MEMBER(parent_gpu_process_id) |
| 186 IPC_STRUCT_TRAITS_MEMBER(parent_client_id) | 187 IPC_STRUCT_TRAITS_MEMBER(parent_client_id) |
| 187 IPC_STRUCT_TRAITS_MEMBER(parent_context_id) | |
| 188 IPC_STRUCT_TRAITS_MEMBER(parent_texture_id[0]) | |
| 189 IPC_STRUCT_TRAITS_MEMBER(parent_texture_id[1]) | |
| 190 IPC_STRUCT_TRAITS_MEMBER(sync_point) | |
| 191 IPC_STRUCT_TRAITS_END() | 188 IPC_STRUCT_TRAITS_END() |
| 192 | 189 |
| 193 IPC_ENUM_TRAITS(content::CauseForGpuLaunch) | 190 IPC_ENUM_TRAITS(content::CauseForGpuLaunch) |
| 194 IPC_ENUM_TRAITS(gfx::GpuPreference) | 191 IPC_ENUM_TRAITS(gfx::GpuPreference) |
| 195 IPC_ENUM_TRAITS(gpu::error::ContextLostReason) | 192 IPC_ENUM_TRAITS(gpu::error::ContextLostReason) |
| 196 | 193 |
| 197 IPC_ENUM_TRAITS(media::VideoCodecProfile) | 194 IPC_ENUM_TRAITS(media::VideoCodecProfile) |
| 198 | 195 |
| 199 IPC_STRUCT_TRAITS_BEGIN(content::GpuRenderingStats) | 196 IPC_STRUCT_TRAITS_BEGIN(content::GpuRenderingStats) |
| 200 IPC_STRUCT_TRAITS_MEMBER(global_texture_upload_count) | 197 IPC_STRUCT_TRAITS_MEMBER(global_texture_upload_count) |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 | 629 |
| 633 // Confirm decoder has been flushed. | 630 // Confirm decoder has been flushed. |
| 634 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 631 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 635 | 632 |
| 636 // Confirm decoder has been reset. | 633 // Confirm decoder has been reset. |
| 637 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 634 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 638 | 635 |
| 639 // Video decoder has encountered an error. | 636 // Video decoder has encountered an error. |
| 640 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 637 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 641 uint32) /* Error ID */ | 638 uint32) /* Error ID */ |
| OLD | NEW |