blob: 1163133e4a97108ca17e85db194fccba1399c8e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/wayland/gpu/wayland_overlay_candidates.h"
#include "ui/ozone/platform/wayland/gpu/wayland_overlay_manager.h"
#include "ui/ozone/public/overlay_surface_candidate.h"
namespace ui {
WaylandOverlayCandidates::WaylandOverlayCandidates(
WaylandOverlayManager* manager,
gfx::AcceleratedWidget widget)
: overlay_manager_(manager), widget_(widget) {}
WaylandOverlayCandidates::~WaylandOverlayCandidates() = default;
void WaylandOverlayCandidates::CheckOverlaySupport(
std::vector<OverlaySurfaceCandidate>* candidates) {
overlay_manager_->CheckOverlaySupport(candidates, widget_);
}
} // namespace ui
|