chromium/ui/ozone/platform/wayland/test/test_output.cc

// Copyright 2019 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/platform/wayland/test/test_output.h"

#include <wayland-server-protocol.h>

#include <optional>

#include "base/check_op.h"
#include "ui/display/types/display_constants.h"

namespace wl {

namespace {
// TODO(tluk): Update this to the latest supported wl_output version.
constexpr uint32_t kOutputVersion =;
}

TestOutput::TestOutput(Delegate* delegate)
    :{}

TestOutput::TestOutput(Delegate* delegate, TestOutputMetrics metrics)
    :{}

TestOutput::~TestOutput() = default;

// static
TestOutput* TestOutput::FromResource(wl_resource* resource) {}

uint64_t TestOutput::GetOutputName(wl_client* client) const {}

void TestOutput::SetPhysicalAndLogicalBounds(const gfx::Rect& bounds) {}

void TestOutput::ApplyLogicalTranspose() {}

void TestOutput::SetOrigin(const gfx::Point& wl_origin) {}

void TestOutput::SetScale(int32_t wl_scale) {}

void TestOutput::SetLogicalSize(const gfx::Size& xdg_logical_size) {}

void TestOutput::SetLogicalOrigin(const gfx::Point& xdg_logical_origin) {}

void TestOutput::SetPanelTransform(wl_output_transform wl_panel_transform) {}

void TestOutput::SetLogicalInsets(const gfx::Insets& aura_logical_insets) {}

void TestOutput::SetDeviceScaleFactor(float aura_device_scale_factor) {}

void TestOutput::SetLogicalTransform(
    wl_output_transform aura_logical_transform) {}

const gfx::Size& TestOutput::GetPhysicalSize() const {}

const gfx::Point& TestOutput::GetOrigin() const {}

int32_t TestOutput::GetScale() const {}

int64_t TestOutput::GetDisplayId() const {}

void TestOutput::Flush() {}

void TestOutput::DestroyGlobal() {}

// Notifies clients about the changes in the output configuration via server
// events as soon as the output is bound (unless suppressed). Sending metrics at
// bind time is the most common behavior among Wayland compositors and is the
// case for the exo compositor.
void TestOutput::OnBind() {}

void TestOutput::SetAuraOutput(TestZAuraOutput* aura_output) {}

void TestOutput::SetXdgOutput(TestZXdgOutput* xdg_output) {}

TestZAuraOutput* TestOutput::GetAuraOutput() {}

}  // namespace wl