#include "ui/ozone/platform/wayland/host/wayland_seat.h"
#include "base/logging.h"
#include "ui/events/ozone/layout/keyboard_layout_engine_manager.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
#include "ui/ozone/platform/wayland/host/wayland_event_source.h"
#include "ui/ozone/platform/wayland/host/wayland_keyboard.h"
#include "ui/ozone/platform/wayland/host/wayland_pointer.h"
#include "ui/ozone/platform/wayland/host/wayland_touch.h"
namespace ui {
namespace {
constexpr uint32_t kMinVersion = …;
constexpr uint32_t kMaxVersion = …;
}
void WaylandSeat::Instantiate(WaylandConnection* connection,
wl_registry* registry,
uint32_t name,
const std::string& interface,
uint32_t version) { … }
WaylandSeat::WaylandSeat(wl_seat* seat, WaylandConnection* connection)
: … { … }
WaylandSeat::~WaylandSeat() = default;
bool WaylandSeat::RefreshKeyboard() { … }
void WaylandSeat::OnCapabilities(void* data,
wl_seat* seat,
uint32_t capabilities) { … }
void WaylandSeat::OnName(void* data, wl_seat* seat, const char* name) { … }
void WaylandSeat::HandleCapabilities(void* data,
wl_seat* seat,
uint32_t capabilities) { … }
}