#include "ui/ozone/platform/wayland/host/wayland_data_device_manager.h"
#include <memory>
#include "base/logging.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
#include "ui/ozone/platform/wayland/host/wayland_data_device.h"
#include "ui/ozone/platform/wayland/host/wayland_data_source.h"
#include "ui/ozone/platform/wayland/host/wayland_seat.h"
namespace ui {
namespace {
constexpr uint32_t kMinVersion = …;
constexpr uint32_t kMaxVersion = …;
}
constexpr char WaylandDataDeviceManager::kInterfaceName[];
void WaylandDataDeviceManager::Instantiate(WaylandConnection* connection,
wl_registry* registry,
uint32_t name,
const std::string& interface,
uint32_t version) { … }
WaylandDataDeviceManager::WaylandDataDeviceManager(
wl_data_device_manager* device_manager,
WaylandConnection* connection)
: … { … }
WaylandDataDeviceManager::~WaylandDataDeviceManager() = default;
WaylandDataDevice* WaylandDataDeviceManager::GetDevice() { … }
std::unique_ptr<WaylandDataSource> WaylandDataDeviceManager::CreateSource(
WaylandDataSource::Delegate* delegate) { … }
}