OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/establish_channel_params.h" | 10 #include "content/common/establish_channel_params.h" |
11 #include "gpu/command_buffer/common/sync_token.h" | 11 #include "gpu/command_buffer/common/sync_token.h" |
12 #include "gpu/command_buffer/service/gpu_preferences.h" | 12 #include "gpu/command_buffer/service/gpu_preferences.h" |
13 #include "gpu/config/gpu_info.h" | 13 #include "gpu/config/gpu_info.h" |
14 #include "gpu/ipc/common/gpu_command_buffer_traits.h" | 14 #include "gpu/ipc/common/gpu_command_buffer_traits.h" |
15 #include "gpu/ipc/common/gpu_memory_uma_stats.h" | 15 #include "gpu/ipc/common/gpu_memory_uma_stats.h" |
16 #include "gpu/ipc/common/gpu_param_traits.h" | 16 #include "gpu/ipc/common/gpu_param_traits.h" |
17 #include "gpu/ipc/common/memory_stats.h" | 17 #include "gpu/ipc/common/memory_stats.h" |
18 #include "gpu/ipc/common/surface_handle.h" | 18 #include "gpu/ipc/common/surface_handle.h" |
19 #include "ipc/ipc_channel_handle.h" | 19 #include "ipc/ipc_channel_handle.h" |
20 #include "ipc/ipc_message_macros.h" | 20 #include "ipc/ipc_message_macros.h" |
21 #include "ipc/ipc_message_start.h" | 21 #include "ipc/ipc_message_start.h" |
22 #include "ui/events/ipc/latency_info_param_traits.h" | |
23 #include "ui/gfx/gpu_memory_buffer.h" | 22 #include "ui/gfx/gpu_memory_buffer.h" |
24 #include "ui/gfx/ipc/gfx_param_traits.h" | 23 #include "ui/gfx/ipc/gfx_param_traits.h" |
25 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 24 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 25 #include "ui/latency_info/ipc/latency_info_param_traits.h" |
26 #include "url/gurl.h" | 26 #include "url/gurl.h" |
27 #include "url/ipc/url_param_traits.h" | 27 #include "url/ipc/url_param_traits.h" |
28 | 28 |
29 #if defined(OS_MACOSX) | 29 #if defined(OS_MACOSX) |
30 #include "content/common/accelerated_surface_buffers_swapped_params_mac.h" | 30 #include "content/common/accelerated_surface_buffers_swapped_params_mac.h" |
31 #include "content/common/buffer_presented_params_mac.h" | 31 #include "content/common/buffer_presented_params_mac.h" |
32 #include "ui/base/cocoa/remote_layer_api.h" | 32 #include "ui/base/cocoa/remote_layer_api.h" |
33 #include "ui/gfx/mac/io_surface.h" | 33 #include "ui/gfx/mac/io_surface.h" |
34 #endif | 34 #endif |
35 | 35 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 283 |
284 // Tells the browser about GPU memory usage statistics for UMA logging. | 284 // Tells the browser about GPU memory usage statistics for UMA logging. |
285 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, | 285 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryUmaStats, |
286 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) | 286 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) |
287 | 287 |
288 // Message from GPU to add a GPU log message to the about:gpu page. | 288 // Message from GPU to add a GPU log message to the about:gpu page. |
289 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 289 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
290 int /*severity*/, | 290 int /*severity*/, |
291 std::string /* header */, | 291 std::string /* header */, |
292 std::string /* message */) | 292 std::string /* message */) |
OLD | NEW |