#include "ui/ozone/platform/wayland/host/xdg_output.h"
#include <xdg-output-unstable-v1-client-protocol.h>
#include "ui/ozone/platform/wayland/common/wayland_util.h"
#include "ui/ozone/platform/wayland/host/wayland_output.h"
namespace ui {
XDGOutput::XDGOutput(zxdg_output_v1* xdg_output) : … { … }
XDGOutput::~XDGOutput() = default;
bool XDGOutput::IsReady() const { … }
void XDGOutput::HandleDone() { … }
void XDGOutput::UpdateMetrics(bool compute_scale_from_size,
WaylandOutput::Metrics& metrics) { … }
void XDGOutput::OnLogicalPosition(void* data,
zxdg_output_v1* output,
int32_t x,
int32_t y) { … }
void XDGOutput::OnLogicalSize(void* data,
zxdg_output_v1* output,
int32_t width,
int32_t height) { … }
void XDGOutput::OnDone(void* data, zxdg_output_v1* output) { … }
void XDGOutput::OnName(void* data, zxdg_output_v1* output, const char* name) { … }
void XDGOutput::OnDescription(void* data,
zxdg_output_v1* output,
const char* description) { … }
}