#include "ui/ozone/platform/wayland/host/wayland_data_offer.h"
#include "base/check.h"
#include "base/containers/contains.h"
#include "base/files/file_util.h"
#include "ui/base/clipboard/clipboard_constants.h"
namespace ui {
WaylandDataOffer::WaylandDataOffer(wl_data_offer* data_offer)
: … { … }
WaylandDataOffer::~WaylandDataOffer() { … }
void WaylandDataOffer::Accept(uint32_t serial, const std::string& mime_type) { … }
void WaylandDataOffer::Reject(uint32_t serial) { … }
base::ScopedFD WaylandDataOffer::Receive(const std::string& mime_type) { … }
void WaylandDataOffer::FinishOffer() { … }
void WaylandDataOffer::SetDndActions(uint32_t dnd_actions) { … }
void WaylandDataOffer::OnOffer(void* data,
wl_data_offer* data_offer,
const char* mime_type) { … }
void WaylandDataOffer::OnSourceActions(void* data,
wl_data_offer* offer,
uint32_t source_actions) { … }
void WaylandDataOffer::OnAction(void* data,
wl_data_offer* offer,
uint32_t dnd_action) { … }
}