Chromium Code Reviews| Index: ui/ozone/common/gpu/ozone_gpu_messages.h |
| diff --git a/ui/ozone/common/gpu/ozone_gpu_messages.h b/ui/ozone/common/gpu/ozone_gpu_messages.h |
| index e83169b2a559a4376246bfcc9157f54cc4f745e5..b4d0664a0451d769a0c96366ec077f0ea4129072 100644 |
| --- a/ui/ozone/common/gpu/ozone_gpu_messages.h |
| +++ b/ui/ozone/common/gpu/ozone_gpu_messages.h |
| @@ -29,8 +29,12 @@ IPC_ENUM_TRAITS_MAX_VALUE(ui::DisplayConnectionType, |
| IPC_ENUM_TRAITS_MAX_VALUE(ui::HDCPState, ui::HDCP_STATE_LAST) |
| -// clang-format off |
| +IPC_ENUM_TRAITS_MAX_VALUE(gfx::OverlayTransform, gfx::OVERLAY_TRANSFORM_LAST) |
| + |
| +IPC_ENUM_TRAITS_MAX_VALUE(ui::SurfaceFactoryOzone::BufferFormat, |
| + ui::SurfaceFactoryOzone::BUFFER_FORMAT_LAST) |
| +// clang-format off |
| IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params) |
| IPC_STRUCT_TRAITS_MEMBER(size) |
| IPC_STRUCT_TRAITS_MEMBER(is_interlaced) |
| @@ -60,6 +64,13 @@ IPC_STRUCT_TRAITS_BEGIN(ui::GammaRampRGBEntry) |
| IPC_STRUCT_TRAITS_MEMBER(b) |
| IPC_STRUCT_TRAITS_END() |
| +IPC_STRUCT_TRAITS_BEGIN(ui::OverlayCheck_Params) |
| + IPC_STRUCT_TRAITS_MEMBER(buffer_size) |
| + IPC_STRUCT_TRAITS_MEMBER(transform) |
| + IPC_STRUCT_TRAITS_MEMBER(format) |
| + IPC_STRUCT_TRAITS_MEMBER(display_rect) |
| + IPC_STRUCT_TRAITS_MEMBER(plane_z_order) |
| +IPC_STRUCT_TRAITS_END() |
|
spang
2015/06/01 18:54:21
newline
achaulk
2015/06/01 20:43:08
Done.
|
| // clang-format on |
| //------------------------------------------------------------------------------ |
| @@ -128,6 +139,10 @@ IPC_MESSAGE_CONTROL2(OzoneGpuMsg_SetGammaRamp, |
| int64_t, // display ID, |
| std::vector<ui::GammaRampRGBEntry>) // lut |
| +IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CheckOverlayCapabilities, |
| + gfx::AcceleratedWidget /* widget */, |
| + std::vector<ui::OverlayCheck_Params> /* overlays */) |
| + |
| //------------------------------------------------------------------------------ |
| // Browser Messages |
| // These messages are from the GPU to the browser process. |
| @@ -150,3 +165,8 @@ IPC_MESSAGE_CONTROL3(OzoneHostMsg_HDCPStateReceived, |
| IPC_MESSAGE_CONTROL2(OzoneHostMsg_HDCPStateUpdated, |
| int64_t /* display_id */, |
| bool /* success */) |
| + |
| +// Response for OzoneGpuMsg_CheckOverlayCapabilities |
| +IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, |
| + gfx::AcceleratedWidget /* widget */, |
| + bool /* result */) |