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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged, | 72 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged, |
73 gfx::AcceleratedWidget /* widget */, | 73 gfx::AcceleratedWidget /* widget */, |
74 gfx::Rect /* bounds */) | 74 gfx::Rect /* bounds */) |
75 | 75 |
76 #if defined(OS_CHROMEOS) | 76 #if defined(OS_CHROMEOS) |
77 // Force the DPMS state of the display to on. | 77 // Force the DPMS state of the display to on. |
78 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_ForceDPMSOn) | 78 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_ForceDPMSOn) |
79 | 79 |
80 // Trigger a display reconfiguration. OzoneHostMsg_UpdateNativeDisplays will be | 80 // Trigger a display reconfiguration. OzoneHostMsg_UpdateNativeDisplays will be |
81 // sent as a response. | 81 // sent as a response. |
82 // The |displays| parameter will hold a list of last known displays. | 82 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RefreshNativeDisplays) |
83 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_RefreshNativeDisplays, | |
84 std::vector<ui::DisplaySnapshot_Params> /* displays */) | |
85 | 83 |
86 // Configure a display with the specified mode at the specified location. | 84 // Configure a display with the specified mode at the specified location. |
87 IPC_MESSAGE_CONTROL3(OzoneGpuMsg_ConfigureNativeDisplay, | 85 IPC_MESSAGE_CONTROL3(OzoneGpuMsg_ConfigureNativeDisplay, |
88 int64_t, // display ID | 86 int64_t, // display ID |
89 ui::DisplayMode_Params, // display mode | 87 ui::DisplayMode_Params, // display mode |
90 gfx::Point) // origin for the display | 88 gfx::Point) // origin for the display |
91 | 89 |
92 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay, | 90 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay, |
93 int64_t) // display ID | 91 int64_t) // display ID |
94 | 92 |
95 //------------------------------------------------------------------------------ | 93 //------------------------------------------------------------------------------ |
96 // Browser Messages | 94 // Browser Messages |
97 // These messages are from the GPU to the browser process. | 95 // These messages are from the GPU to the browser process. |
98 | 96 |
99 // Updates the list of active displays. | 97 // Updates the list of active displays. |
100 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, | 98 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, |
101 std::vector<ui::DisplaySnapshot_Params>) | 99 std::vector<ui::DisplaySnapshot_Params>) |
102 #endif | 100 #endif |
OLD | NEW |