#include "remoting/host/linux/wayland_seat.h"
#include "base/task/sequenced_task_runner.h"
#include "remoting/host/linux/wayland_manager.h"
namespace remoting {
namespace {
constexpr int kSeatInterfaceVersion = …;
}
WaylandSeat::WaylandSeat() = default;
WaylandSeat::~WaylandSeat() = default;
void WaylandSeat::HandleGlobalSeatEvent(struct wl_registry* registry,
uint32_t name,
const char* interface,
uint32_t version) { … }
uint32_t WaylandSeat::GetSeatId() const { … }
void WaylandSeat::HandleGlobalRemoveSeatEvent(uint32_t name) { … }
void WaylandSeat::OnSeatCapabilitiesEvent(void* data,
struct wl_seat* wl_seat,
uint32_t capabilities) { … }
void WaylandSeat::OnSeatNameEvent(void* data,
struct wl_seat* wl_seat,
const char* name) { … }
void WaylandSeat::SetSeatPresentCallback(
WaylandSeat::OnSeatPresentCallback callback) { … }
}