| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <vector> | 8 #include <vector> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
| 12 #include "content/common/common_param_traits.h" | 12 #include "content/common/common_param_traits.h" |
| 13 #include "content/common/gpu/gpu_info.h" | 13 #include "content/common/gpu/gpu_info.h" |
| 14 #include "content/common/gpu/gpu_process_launch_causes.h" | 14 #include "content/common/gpu/gpu_process_launch_causes.h" |
| 15 #include "gpu/command_buffer/common/command_buffer.h" | 15 #include "gpu/command_buffer/common/command_buffer.h" |
| 16 #include "gpu/command_buffer/common/constants.h" | 16 #include "gpu/command_buffer/common/constants.h" |
| 17 #include "gpu/ipc/gpu_command_buffer_traits.h" | 17 #include "gpu/ipc/gpu_command_buffer_traits.h" |
| 18 #include "ipc/ipc_channel_handle.h" | 18 #include "ipc/ipc_channel_handle.h" |
| 19 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
| 20 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
| 21 #include "ui/gfx/size.h" | 21 #include "ui/gfx/size.h" |
| 22 | 22 |
| 23 #define IPC_MESSAGE_START GpuMsgStart | 23 #define IPC_MESSAGE_START GpuMsgStart |
| 24 | 24 |
| 25 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 25 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
| 26 IPC_STRUCT_MEMBER(int32, share_group_id) |
| 26 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 27 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
| 27 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 28 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
| 28 IPC_STRUCT_MEMBER(GURL, active_url) | 29 IPC_STRUCT_MEMBER(GURL, active_url) |
| 29 IPC_STRUCT_END() | 30 IPC_STRUCT_END() |
| 30 | 31 |
| 31 #if defined(OS_MACOSX) | 32 #if defined(OS_MACOSX) |
| 32 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) | 33 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params) |
| 33 IPC_STRUCT_MEMBER(int32, renderer_id) | 34 IPC_STRUCT_MEMBER(int32, renderer_id) |
| 34 IPC_STRUCT_MEMBER(int32, render_view_id) | 35 IPC_STRUCT_MEMBER(int32, render_view_id) |
| 35 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) | 36 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 | 512 |
| 512 // Confirm decoder has been reset. | 513 // Confirm decoder has been reset. |
| 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 514 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 514 | 515 |
| 515 // Decoder has faced end of stream marker in the stream. | 516 // Decoder has faced end of stream marker in the stream. |
| 516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
| 517 | 518 |
| 518 // Video decoder has encountered an error. | 519 // Video decoder has encountered an error. |
| 519 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 520 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 520 uint32) /* Error ID */ | 521 uint32) /* Error ID */ |
| OLD | NEW |