#include "third_party/blink/renderer/modules/clipboard/clipboard.h"
#include <utility>
#include "net/base/mime_util.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/event_target_names.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/navigator.h"
#include "third_party/blink/renderer/modules/clipboard/clipboard_promise.h"
#include "ui/base/clipboard/clipboard_constants.h"
namespace blink {
const char Clipboard::kSupplementName[] = …;
Clipboard* Clipboard::clipboard(Navigator& navigator) { … }
Clipboard::Clipboard(Navigator& navigator) : … { … }
ScriptPromise<IDLSequence<ClipboardItem>> Clipboard::read(
ScriptState* script_state,
ClipboardUnsanitizedFormats* formats,
ExceptionState& exception_state) { … }
ScriptPromise<IDLString> Clipboard::readText(ScriptState* script_state,
ExceptionState& exception_state) { … }
ScriptPromise<IDLUndefined> Clipboard::write(
ScriptState* script_state,
const HeapVector<Member<ClipboardItem>>& data,
ExceptionState& exception_state) { … }
ScriptPromise<IDLUndefined> Clipboard::writeText(
ScriptState* script_state,
const String& data,
ExceptionState& exception_state) { … }
const AtomicString& Clipboard::InterfaceName() const { … }
ExecutionContext* Clipboard::GetExecutionContext() const { … }
String Clipboard::ParseWebCustomFormat(const String& format) { … }
void Clipboard::Trace(Visitor* visitor) const { … }
}