#include "ui/ozone/platform/x11/x11_clipboard_ozone.h"
#include <iterator>
#include <memory>
#include <set>
#include <utility>
#include "base/functional/bind.h"
#include "ui/base/clipboard/clipboard_constants.h"
#include "ui/base/x/x11_clipboard_helper.h"
namespace ui {
X11ClipboardOzone::X11ClipboardOzone()
: … { … }
X11ClipboardOzone::~X11ClipboardOzone() = default;
void X11ClipboardOzone::OfferClipboardData(
ClipboardBuffer buffer,
const PlatformClipboard::DataMap& data_map,
PlatformClipboard::OfferDataClosure callback) { … }
void X11ClipboardOzone::RequestClipboardData(
ClipboardBuffer buffer,
const std::string& mime_type,
PlatformClipboard::RequestDataClosure callback) { … }
void X11ClipboardOzone::GetAvailableMimeTypes(
ClipboardBuffer buffer,
PlatformClipboard::GetMimeTypesClosure callback) { … }
bool X11ClipboardOzone::IsSelectionOwner(ClipboardBuffer buffer) { … }
void X11ClipboardOzone::SetClipboardDataChangedCallback(
ClipboardDataChangedCallback data_changed_callback) { … }
bool X11ClipboardOzone::IsSelectionBufferAvailable() const { … }
void X11ClipboardOzone::OnSelectionChanged(ClipboardBuffer buffer) { … }
}