#include "ui/ozone/platform/wayland/host/zwp_primary_selection_offer.h"
#include <primary-selection-unstable-v1-client-protocol.h>
#include <fcntl.h>
#include <algorithm>
#include "base/check.h"
#include "base/containers/contains.h"
#include "base/files/file_util.h"
#include "ui/base/clipboard/clipboard_constants.h"
namespace ui {
ZwpPrimarySelectionOffer::ZwpPrimarySelectionOffer(
zwp_primary_selection_offer_v1* data_offer)
: … { … }
ZwpPrimarySelectionOffer::~ZwpPrimarySelectionOffer() { … }
base::ScopedFD ZwpPrimarySelectionOffer::Receive(const std::string& mime_type) { … }
void ZwpPrimarySelectionOffer::OnOffer(
void* data,
zwp_primary_selection_offer_v1* data_offer,
const char* mime_type) { … }
}