OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 9 |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 ui::DISPLAY_CONNECTION_TYPE_LAST) | 25 ui::DISPLAY_CONNECTION_TYPE_LAST) |
26 | 26 |
27 IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params) | 27 IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params) |
28 IPC_STRUCT_TRAITS_MEMBER(size) | 28 IPC_STRUCT_TRAITS_MEMBER(size) |
29 IPC_STRUCT_TRAITS_MEMBER(is_interlaced) | 29 IPC_STRUCT_TRAITS_MEMBER(is_interlaced) |
30 IPC_STRUCT_TRAITS_MEMBER(refresh_rate) | 30 IPC_STRUCT_TRAITS_MEMBER(refresh_rate) |
31 IPC_STRUCT_TRAITS_END() | 31 IPC_STRUCT_TRAITS_END() |
32 | 32 |
33 IPC_STRUCT_TRAITS_BEGIN(ui::DisplaySnapshot_Params) | 33 IPC_STRUCT_TRAITS_BEGIN(ui::DisplaySnapshot_Params) |
34 IPC_STRUCT_TRAITS_MEMBER(display_id) | 34 IPC_STRUCT_TRAITS_MEMBER(display_id) |
35 IPC_STRUCT_TRAITS_MEMBER(has_proper_display_id) | |
36 IPC_STRUCT_TRAITS_MEMBER(origin) | 35 IPC_STRUCT_TRAITS_MEMBER(origin) |
37 IPC_STRUCT_TRAITS_MEMBER(physical_size) | 36 IPC_STRUCT_TRAITS_MEMBER(physical_size) |
38 IPC_STRUCT_TRAITS_MEMBER(type) | 37 IPC_STRUCT_TRAITS_MEMBER(type) |
39 IPC_STRUCT_TRAITS_MEMBER(is_aspect_preserving_scaling) | 38 IPC_STRUCT_TRAITS_MEMBER(is_aspect_preserving_scaling) |
40 IPC_STRUCT_TRAITS_MEMBER(has_overscan) | 39 IPC_STRUCT_TRAITS_MEMBER(has_overscan) |
41 IPC_STRUCT_TRAITS_MEMBER(display_name) | 40 IPC_STRUCT_TRAITS_MEMBER(display_name) |
42 IPC_STRUCT_TRAITS_MEMBER(modes) | 41 IPC_STRUCT_TRAITS_MEMBER(modes) |
43 IPC_STRUCT_TRAITS_MEMBER(has_current_mode) | 42 IPC_STRUCT_TRAITS_MEMBER(has_current_mode) |
44 IPC_STRUCT_TRAITS_MEMBER(current_mode) | 43 IPC_STRUCT_TRAITS_MEMBER(current_mode) |
45 IPC_STRUCT_TRAITS_MEMBER(has_native_mode) | 44 IPC_STRUCT_TRAITS_MEMBER(has_native_mode) |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay, | 93 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay, |
95 int64_t) // display ID | 94 int64_t) // display ID |
96 | 95 |
97 //------------------------------------------------------------------------------ | 96 //------------------------------------------------------------------------------ |
98 // Browser Messages | 97 // Browser Messages |
99 // These messages are from the GPU to the browser process. | 98 // These messages are from the GPU to the browser process. |
100 | 99 |
101 // Updates the list of active displays. | 100 // Updates the list of active displays. |
102 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, | 101 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, |
103 std::vector<ui::DisplaySnapshot_Params>) | 102 std::vector<ui::DisplaySnapshot_Params>) |
OLD | NEW |