#include "ui/ozone/platform/wayland/host/gtk_primary_selection_device.h"
#include <gtk-primary-selection-client-protocol.h>
#include "ui/ozone/platform/wayland/host/gtk_primary_selection_offer.h"
#include "ui/ozone/platform/wayland/host/wayland_connection.h"
#include "ui/ozone/platform/wayland/host/wayland_data_source.h"
namespace ui {
GtkPrimarySelectionDevice::GtkPrimarySelectionDevice(
WaylandConnection* connection,
gtk_primary_selection_device* data_device)
: … { … }
GtkPrimarySelectionDevice::~GtkPrimarySelectionDevice() = default;
void GtkPrimarySelectionDevice::SetSelectionSource(
GtkPrimarySelectionSource* source,
uint32_t serial) { … }
void GtkPrimarySelectionDevice::OnDataOffer(
void* data,
gtk_primary_selection_device* selection_device,
gtk_primary_selection_offer* offer) { … }
void GtkPrimarySelectionDevice::OnSelection(
void* data,
gtk_primary_selection_device* selection_device,
gtk_primary_selection_offer* offer) { … }
}