// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_OZONE_PLATFORM_WAYLAND_GPU_WAYLAND_OVERLAY_MANAGER_H_ #define UI_OZONE_PLATFORM_WAYLAND_GPU_WAYLAND_OVERLAY_MANAGER_H_ #include "base/memory/raw_ptr.h" #include "ui/gfx/native_widget_types.h" #include "ui/ozone/public/overlay_candidates_ozone.h" #include "ui/ozone/public/overlay_manager_ozone.h" namespace ui { class OverlaySurfaceCandidate; class WaylandBufferManagerGpu; // Ozone Wayland extension of the OverlayManagerOzone interface. It verifies the // minimum validity of overlay candidates. Candidates' buffers are forwarded to // Wayland server as Wayland subsurfaces. Actual HW overlay promotion happens // later in Wayland Server. class WaylandOverlayManager : public OverlayManagerOzone { … }; } // namespace ui #endif // UI_OZONE_PLATFORM_WAYLAND_GPU_WAYLAND_OVERLAY_MANAGER_H_