| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/file_descriptor_posix.h" | 12 #include "base/file_descriptor_posix.h" |
| 13 #include "ipc/ipc_message_macros.h" | 13 #include "ipc/ipc_message_macros.h" |
| 14 #include "third_party/skia/include/core/SkBitmap.h" | 14 #include "third_party/skia/include/core/SkBitmap.h" |
| 15 #include "ui/display/types/display_constants.h" | 15 #include "ui/display/types/display_constants.h" |
| 16 #include "ui/display/types/gamma_ramp_rgb_entry.h" | 16 #include "ui/display/types/gamma_ramp_rgb_entry.h" |
| 17 #include "ui/gfx/geometry/point.h" | 17 #include "ui/gfx/geometry/point.h" |
| 18 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 19 #include "ui/gfx/ipc/gfx_param_traits.h" | 19 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 20 #include "ui/gfx/ipc/gfx_param_traits_macros.h" | 20 #include "ui/gfx/ipc/gfx_param_traits_macros.h" |
| 21 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 21 #include "ui/gfx/native_widget_types.h" | 22 #include "ui/gfx/native_widget_types.h" |
| 22 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" | 23 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" |
| 23 | 24 |
| 24 #undef IPC_MESSAGE_EXPORT | 25 #undef IPC_MESSAGE_EXPORT |
| 25 #define IPC_MESSAGE_EXPORT | 26 #define IPC_MESSAGE_EXPORT |
| 26 | 27 |
| 27 #define IPC_MESSAGE_START OzoneGpuMsgStart | 28 #define IPC_MESSAGE_START OzoneGpuMsgStart |
| 28 | 29 |
| 29 IPC_ENUM_TRAITS_MAX_VALUE(ui::DisplayConnectionType, | 30 IPC_ENUM_TRAITS_MAX_VALUE(ui::DisplayConnectionType, |
| 30 ui::DISPLAY_CONNECTION_TYPE_LAST) | 31 ui::DISPLAY_CONNECTION_TYPE_LAST) |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 178 |
| 178 // Response to OzoneGpuMsg_RelinquishDisplayControl. | 179 // Response to OzoneGpuMsg_RelinquishDisplayControl. |
| 179 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished, | 180 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished, |
| 180 bool /* success */) | 181 bool /* success */) |
| 181 | 182 |
| 182 // Response to OzoneGpuMsg_CheckOverlayCapabilities. Returns list of supported | 183 // Response to OzoneGpuMsg_CheckOverlayCapabilities. Returns list of supported |
| 183 // params. | 184 // params. |
| 184 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, | 185 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, |
| 185 gfx::AcceleratedWidget /* widget */, | 186 gfx::AcceleratedWidget /* widget */, |
| 186 std::vector<ui::OverlayCheck_Params> /* overlays */) | 187 std::vector<ui::OverlayCheck_Params> /* overlays */) |
| OLD | NEW |