#include "content/public/browser/clipboard_types.h"
#include "base/functional/callback_helpers.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
namespace content {
ClipboardPasteData::ClipboardPasteData() = default;
ClipboardPasteData::ClipboardPasteData(const ClipboardPasteData&) = default;
ClipboardPasteData& ClipboardPasteData::operator=(const ClipboardPasteData&) =
default;
ClipboardPasteData::ClipboardPasteData(ClipboardPasteData&&) = default;
ClipboardPasteData& ClipboardPasteData::operator=(ClipboardPasteData&&) =
default;
bool ClipboardPasteData::empty() const { … }
size_t ClipboardPasteData::size() const { … }
void ClipboardPasteData::Merge(ClipboardPasteData other) { … }
ClipboardPasteData::~ClipboardPasteData() = default;
ClipboardEndpoint::ClipboardEndpoint(
base::optional_ref<const ui::DataTransferEndpoint> data_transfer_endpoint)
: … { … }
ClipboardEndpoint::ClipboardEndpoint(
base::optional_ref<const ui::DataTransferEndpoint> data_transfer_endpoint,
base::RepeatingCallback<BrowserContext*()> browser_context_fetcher,
RenderFrameHost& rfh)
: … { … }
ClipboardEndpoint::ClipboardEndpoint(const ClipboardEndpoint&) = default;
ClipboardEndpoint& ClipboardEndpoint::operator=(const ClipboardEndpoint&) =
default;
ClipboardEndpoint::~ClipboardEndpoint() = default;
BrowserContext* ClipboardEndpoint::browser_context() const { … }
WebContents* ClipboardEndpoint::web_contents() const { … }
}