#include "ui/ozone/platform/wayland/host/gtk_primary_selection_device_manager.h"
#include <gtk-primary-selection-client-protocol.h>
#include <memory>
#include "base/logging.h"
#include "ui/ozone/platform/wayland/host/gtk_primary_selection_device.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.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 char GtkPrimarySelectionDeviceManager::kInterfaceName[];
void GtkPrimarySelectionDeviceManager::Instantiate(
WaylandConnection* connection,
wl_registry* registry,
uint32_t name,
const std::string& interface,
uint32_t version) { … }
GtkPrimarySelectionDeviceManager::GtkPrimarySelectionDeviceManager(
gtk_primary_selection_device_manager* manager,
WaylandConnection* connection)
: … { … }
GtkPrimarySelectionDeviceManager::~GtkPrimarySelectionDeviceManager() = default;
GtkPrimarySelectionDevice* GtkPrimarySelectionDeviceManager::GetDevice() { … }
std::unique_ptr<GtkPrimarySelectionSource>
GtkPrimarySelectionDeviceManager::CreateSource(
GtkPrimarySelectionSource::Delegate* delegate) { … }
}