#include "ui/base/clipboard/clipboard_data.h"
#include <memory>
#include <optional>
#include <ostream>
#include <vector>
#include "ui/base/clipboard/clipboard_sequence_number_token.h"
#include "ui/base/data_transfer_policy/data_transfer_endpoint.h"
#include "ui/gfx/skia_util.h"
namespace ui {
ClipboardData::ClipboardData() = default;
ClipboardData::ClipboardData(const ClipboardData& other) { … }
ClipboardData::ClipboardData(ClipboardData&&) = default;
ClipboardData& ClipboardData::operator=(ClipboardData&& rhs) = default;
ClipboardData::~ClipboardData() = default;
bool ClipboardData::operator==(const ClipboardData& that) const { … }
bool ClipboardData::operator!=(const ClipboardData& that) const { … }
std::optional<size_t> ClipboardData::CalculateSize(
const std::optional<ClipboardInternalFormat>& format,
const std::optional<ClipboardFormatType>& custom_data_format) const { … }
void ClipboardData::SetPngData(std::vector<uint8_t> png) { … }
void ClipboardData::SetPngDataAfterEncoding(std::vector<uint8_t> png) const { … }
void ClipboardData::SetBitmapData(const SkBitmap& bitmap) { … }
std::optional<SkBitmap> ClipboardData::GetBitmapIfPngNotEncoded() const { … }
bool ClipboardData::HasCustomDataFormat(
const ClipboardFormatType& format) const { … }
std::string ClipboardData::GetCustomData(
const ClipboardFormatType& format) const { … }
std::string ClipboardData::GetDataTransferCustomData() const { … }
void ClipboardData::SetCustomData(const ClipboardFormatType& format,
const std::string& data) { … }
}