chromium/ui/ozone/public/platform_screen.cc

// 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.

#include "ui/ozone/public/platform_screen.h"

#include <optional>

#include "base/notreached.h"
#include "base/time/time.h"
#include "ui/gfx/geometry/point.h"

namespace ui {

PlatformScreen::PlatformScreen() = default;
PlatformScreen::~PlatformScreen() = default;

gfx::AcceleratedWidget PlatformScreen::GetLocalProcessWidgetAtPoint(
    const gfx::Point& point_in_dip,
    const std::set<gfx::AcceleratedWidget>& ignore) const {}

bool PlatformScreen::IsAcceleratedWidgetUnderCursor(
    gfx::AcceleratedWidget widget) const {}

std::string PlatformScreen::GetCurrentWorkspace() {}

PlatformScreen::PlatformScreenSaverSuspender::~PlatformScreenSaverSuspender() =
    default;

std::unique_ptr<PlatformScreen::PlatformScreenSaverSuspender>
PlatformScreen::SuspendScreenSaver() {}

bool PlatformScreen::IsScreenSaverActive() const {}

base::TimeDelta PlatformScreen::CalculateIdleTime() const {}

base::Value::List PlatformScreen::GetGpuExtraInfo(
    const gfx::GpuExtraInfo& gpu_extra_info) {}

std::optional<float>
PlatformScreen::GetPreferredScaleFactorForAcceleratedWidget(
    gfx::AcceleratedWidget widget) const {}

void PlatformScreen::StorePlatformNameIntoListOfValues(
    base::Value::List& values,
    const std::string& platform_name) {}

}  // namespace ui