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 |
11 #include "base/memory/shared_memory.h" | 11 #include "base/memory/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_memory_uma_stats.h" | 14 #include "content/common/gpu/gpu_memory_uma_stats.h" |
15 #include "content/common/gpu/gpu_process_launch_causes.h" | 15 #include "content/common/gpu/gpu_process_launch_causes.h" |
16 #include "content/common/gpu/gpu_rendering_stats.h" | 16 #include "content/common/gpu/gpu_rendering_stats.h" |
17 #include "content/common/gpu/surface_capturer.h" | 17 #include "content/common/gpu/surface_capturer.h" |
18 #include "content/public/common/common_param_traits.h" | 18 #include "content/public/common/common_param_traits.h" |
19 #include "content/public/common/gpu_memory_stats.h" | 19 #include "content/public/common/gpu_memory_stats.h" |
20 #include "gpu/command_buffer/common/command_buffer.h" | 20 #include "gpu/command_buffer/common/command_buffer.h" |
21 #include "gpu/command_buffer/common/constants.h" | 21 #include "gpu/command_buffer/common/constants.h" |
22 #include "gpu/command_buffer/common/mailbox.h" | 22 #include "gpu/command_buffer/common/mailbox.h" |
23 #include "gpu/config/gpu_info.h" | 23 #include "gpu/config/gpu_info.h" |
24 #include "gpu/ipc/gpu_command_buffer_traits.h" | 24 #include "gpu/ipc/gpu_command_buffer_traits.h" |
25 #include "ipc/ipc_channel_handle.h" | 25 #include "ipc/ipc_channel_handle.h" |
26 #include "ipc/ipc_message_macros.h" | 26 #include "ipc/ipc_message_macros.h" |
27 #include "media/base/video_frame.h" | 27 #include "media/base/video_frame.h" |
28 #include "media/video/video_decode_accelerator.h" | 28 #include "media/video/video_decode_accelerator.h" |
29 #include "media/video/video_encode_accelerator.h" | 29 #include "media/video/video_encode_accelerator.h" |
30 #include "ui/base/latency_info.h" | 30 #include "ui/events/latency_info.h" |
31 #include "ui/gfx/native_widget_types.h" | 31 #include "ui/gfx/native_widget_types.h" |
32 #include "ui/gfx/size.h" | 32 #include "ui/gfx/size.h" |
33 #include "ui/gl/gpu_preference.h" | 33 #include "ui/gl/gpu_preference.h" |
34 | 34 |
35 #if defined(OS_ANDROID) | 35 #if defined(OS_ANDROID) |
36 #include "content/common/android/surface_texture_peer.h" | 36 #include "content/common/android/surface_texture_peer.h" |
37 #endif | 37 #endif |
38 | 38 |
39 #define IPC_MESSAGE_START GpuMsgStart | 39 #define IPC_MESSAGE_START GpuMsgStart |
40 | 40 |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 gfx::Size /* buffer_size */, | 805 gfx::Size /* buffer_size */, |
806 gfx::Rect /* visible_rect */) | 806 gfx::Rect /* visible_rect */) |
807 | 807 |
808 // Report successful copy of a capture of a surface. | 808 // Report successful copy of a capture of a surface. |
809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, | 809 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyCopyCaptureDone, |
810 int32 /* frame_id */) | 810 int32 /* frame_id */) |
811 | 811 |
812 // Report error. | 812 // Report error. |
813 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, | 813 IPC_MESSAGE_ROUTED1(SurfaceCapturerHostMsg_NotifyError, |
814 content::SurfaceCapturer::Error /* error */) | 814 content::SurfaceCapturer::Error /* error */) |
OLD | NEW |