#include "ui/ozone/platform/x11/os_exchange_data_provider_x11.h"
#include <utility>
#include "base/check.h"
#include "ui/base/clipboard/clipboard_constants.h"
#include "ui/base/data_transfer_policy/data_transfer_policy_controller.h"
#include "ui/base/x/selection_utils.h"
#include "ui/events/platform/platform_event_source.h"
#include "ui/gfx/x/atom_cache.h"
#include "ui/gfx/x/xproto.h"
namespace ui {
OSExchangeDataProviderX11::OSExchangeDataProviderX11(
x11::Window x_window,
x11::Window source_window,
const SelectionFormatMap& selection)
: … { … }
OSExchangeDataProviderX11::OSExchangeDataProviderX11() { … }
OSExchangeDataProviderX11::~OSExchangeDataProviderX11() { … }
std::unique_ptr<OSExchangeDataProvider> OSExchangeDataProviderX11::Clone()
const { … }
void OSExchangeDataProviderX11::OnEvent(const x11::Event& xev) { … }
void OSExchangeDataProviderX11::SetSource(
std::unique_ptr<DataTransferEndpoint> data_source) { … }
DataTransferEndpoint* OSExchangeDataProviderX11::GetSource() const { … }
}