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" |
(...skipping 13 matching lines...) Expand all Loading... | |
24 #include "ui/gfx/ipc/gfx_param_traits.h" | 24 #include "ui/gfx/ipc/gfx_param_traits.h" |
25 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 25 #include "ui/gfx/ipc/skia/gfx_skia_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 #undef IPC_MESSAGE_EXPORT | 29 #undef IPC_MESSAGE_EXPORT |
30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
31 | 31 |
32 #define IPC_MESSAGE_START GpuMsgStart | 32 #define IPC_MESSAGE_START GpuMsgStart |
33 | 33 |
34 IPC_ENUM_TRAITS_VALIDATE(gpu::GpuPreferences::VpxDecodeVendors, | |
35 ((value >= gpu::GpuPreferences::VPX_VENDOR_NONE) && | |
36 (value <= gpu::GpuPreferences::VPX_VENDOR_ALL))) | |
nasko
2016/07/13 23:07:10
This is quite the range of possible values. Do we
kplum
2016/07/14 15:18:58
I agree with the intent of your feedback but inste
| |
37 | |
34 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats) | 38 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats) |
35 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) | 39 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) |
36 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) | 40 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) |
37 IPC_STRUCT_TRAITS_END() | 41 IPC_STRUCT_TRAITS_END() |
38 | 42 |
39 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoMemoryUsageStats) | 43 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoMemoryUsageStats) |
40 IPC_STRUCT_TRAITS_MEMBER(process_map) | 44 IPC_STRUCT_TRAITS_MEMBER(process_map) |
41 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) | 45 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated) |
42 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) | 46 IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_historical_max) |
43 IPC_STRUCT_TRAITS_END() | 47 IPC_STRUCT_TRAITS_END() |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) | 239 gpu::GPUMemoryUmaStats /* GPU memory UMA stats */) |
236 | 240 |
237 // Message from GPU to add a GPU log message to the about:gpu page. | 241 // Message from GPU to add a GPU log message to the about:gpu page. |
238 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, | 242 IPC_MESSAGE_CONTROL3(GpuHostMsg_OnLogMessage, |
239 int /*severity*/, | 243 int /*severity*/, |
240 std::string /* header */, | 244 std::string /* header */, |
241 std::string /* message */) | 245 std::string /* message */) |
242 | 246 |
243 // Sent by the GPU process to indicate that a fields trial has been activated. | 247 // Sent by the GPU process to indicate that a fields trial has been activated. |
244 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) | 248 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) |
OLD | NEW |