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 <vector> | 9 #include <vector> |
9 #include <string> | |
10 | 10 |
11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/common/gpu/gpu_memory_allocation.h" | 13 #include "content/common/gpu/gpu_memory_allocation.h" |
14 #include "content/common/gpu/gpu_process_launch_causes.h" | 14 #include "content/common/gpu/gpu_process_launch_causes.h" |
15 #include "content/public/common/common_param_traits.h" | 15 #include "content/public/common/common_param_traits.h" |
16 #include "content/public/common/gpu_info.h" | 16 #include "content/public/common/gpu_info.h" |
17 #include "gpu/command_buffer/common/command_buffer.h" | 17 #include "gpu/command_buffer/common/command_buffer.h" |
18 #include "gpu/command_buffer/common/constants.h" | 18 #include "gpu/command_buffer/common/constants.h" |
19 #include "gpu/ipc/gpu_command_buffer_traits.h" | 19 #include "gpu/ipc/gpu_command_buffer_traits.h" |
20 #include "ipc/ipc_channel_handle.h" | 20 #include "ipc/ipc_channel_handle.h" |
21 #include "ipc/ipc_message_macros.h" | 21 #include "ipc/ipc_message_macros.h" |
22 #include "media/video/video_decode_accelerator.h" | 22 #include "media/video/video_decode_accelerator.h" |
23 #include "ui/gfx/gl/gpu_preference.h" | 23 #include "ui/gfx/gl/gpu_preference.h" |
24 #include "ui/gfx/native_widget_types.h" | 24 #include "ui/gfx/native_widget_types.h" |
25 #include "ui/gfx/size.h" | 25 #include "ui/gfx/size.h" |
26 #include "ui/gfx/surface/transport_dib.h" | 26 #include "ui/surface/transport_dib.h" |
27 | 27 |
28 #define IPC_MESSAGE_START GpuMsgStart | 28 #define IPC_MESSAGE_START GpuMsgStart |
29 | 29 |
30 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 30 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
31 IPC_STRUCT_MEMBER(int32, share_group_id) | 31 IPC_STRUCT_MEMBER(int32, share_group_id) |
32 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 32 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
33 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 33 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
34 IPC_STRUCT_MEMBER(GURL, active_url) | 34 IPC_STRUCT_MEMBER(GURL, active_url) |
35 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 35 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
36 IPC_STRUCT_END() | 36 IPC_STRUCT_END() |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 | 508 |
509 // Confirm decoder has been flushed. | 509 // Confirm decoder has been flushed. |
510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
511 | 511 |
512 // Confirm decoder has been reset. | 512 // Confirm decoder has been reset. |
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
514 | 514 |
515 // Video decoder has encountered an error. | 515 // Video decoder has encountered an error. |
516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
517 uint32) /* Error ID */ | 517 uint32) /* Error ID */ |
OLD | NEW |