#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 {
constexpr uint32_t kOutputVersion = …;
}
TestOutput::TestOutput(Delegate* delegate)
: … { … }
TestOutput::TestOutput(Delegate* delegate, TestOutputMetrics metrics)
: … { … }
TestOutput::~TestOutput() = default;
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() { … }
void TestOutput::OnBind() { … }
void TestOutput::SetAuraOutput(TestZAuraOutput* aura_output) { … }
void TestOutput::SetXdgOutput(TestZXdgOutput* xdg_output) { … }
TestZAuraOutput* TestOutput::GetAuraOutput() { … }
}