| 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 "base/file_descriptor_posix.h" | 10 #include "base/file_descriptor_posix.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_RemoveGraphicsDevice, | 96 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_RemoveGraphicsDevice, |
| 97 base::FilePath /* device_path */) | 97 base::FilePath /* device_path */) |
| 98 | 98 |
| 99 // Take control of the display | 99 // Take control of the display |
| 100 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl) | 100 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl) |
| 101 | 101 |
| 102 // Let other entity control the display | 102 // Let other entity control the display |
| 103 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl) | 103 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl) |
| 104 | 104 |
| 105 // Provides the gamma ramp for display adjustment. |
| 106 IPC_MESSAGE_CONTROL4(OzoneGpuMsg_SetGammaRamp, |
| 107 int64_t, // display ID, |
| 108 std::vector<uint16_t>, // r |
| 109 std::vector<uint16_t>, // g, |
| 110 std::vector<uint16_t>) // b |
| 111 |
| 105 //------------------------------------------------------------------------------ | 112 //------------------------------------------------------------------------------ |
| 106 // Browser Messages | 113 // Browser Messages |
| 107 // These messages are from the GPU to the browser process. | 114 // These messages are from the GPU to the browser process. |
| 108 | 115 |
| 109 // Updates the list of active displays. | 116 // Updates the list of active displays. |
| 110 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, | 117 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, |
| 111 std::vector<ui::DisplaySnapshot_Params>) | 118 std::vector<ui::DisplaySnapshot_Params>) |
| 112 | 119 |
| 113 IPC_MESSAGE_CONTROL2(OzoneHostMsg_DisplayConfigured, | 120 IPC_MESSAGE_CONTROL2(OzoneHostMsg_DisplayConfigured, |
| 114 int64_t /* display_id */, | 121 int64_t /* display_id */, |
| 115 bool /* status */) | 122 bool /* status */) |
| OLD | NEW |