Index: ui/ozone/common/gpu/ozone_gpu_message_params.h |
diff --git a/ui/ozone/common/gpu/ozone_gpu_message_params.h b/ui/ozone/common/gpu/ozone_gpu_message_params.h |
index a2d543a0e741dd9bae4affb5ade05bd0fd164b73..cc0eb0a46d84ac058e5ed0806121c33e4c54fa9d 100644 |
--- a/ui/ozone/common/gpu/ozone_gpu_message_params.h |
+++ b/ui/ozone/common/gpu/ozone_gpu_message_params.h |
@@ -11,7 +11,10 @@ |
#include "ui/display/types/display_constants.h" |
#include "ui/gfx/geometry/point.h" |
#include "ui/gfx/geometry/size.h" |
+#include "ui/gfx/overlay_transform.h" |
#include "ui/ozone/ozone_export.h" |
+#include "ui/ozone/public/overlay_candidates_ozone.h" |
+#include "ui/ozone/public/surface_factory_ozone.h" |
namespace ui { |
@@ -44,6 +47,19 @@ struct OZONE_EXPORT DisplaySnapshot_Params { |
std::string string_representation; |
}; |
+struct OZONE_EXPORT OverlayCheck_Params { |
+ OverlayCheck_Params(); |
+ OverlayCheck_Params( |
+ const OverlayCandidatesOzone::OverlaySurfaceCandidate& candidate); |
+ ~OverlayCheck_Params(); |
+ |
+ gfx::Size buffer_size; |
+ gfx::OverlayTransform transform; |
+ SurfaceFactoryOzone::BufferFormat format; |
+ gfx::Rect display_rect; |
+ int plane_z_order; |
+}; |
+ |
} // namespace ui |
#endif // UI_OZONE_COMMON_GPU_OZONE_GPU_MESSAGE_PARAMS_H_ |