chromium/third_party/blink/renderer/modules/clipboard/clipboard_item.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/clipboard/clipboard_item.h"

#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/clipboard/clipboard.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/clipboard/clipboard_mime_types.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/clipboard/clipboard.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "ui/base/clipboard/clipboard_constants.h"

namespace blink {

// static
ClipboardItem* ClipboardItem::Create(
    const HeapVector<std::pair<String, ScriptPromiseUntyped>>& representations,
    ExceptionState& exception_state) {}

ClipboardItem::ClipboardItem(
    const HeapVector<std::pair<String, ScriptPromiseUntyped>>&
        representations) {}

Vector<String> ClipboardItem::types() const {}

ScriptPromiseUntyped ClipboardItem::getType(
    ScriptState* script_state,
    const String& type,
    ExceptionState& exception_state) const {}

// static
bool ClipboardItem::supports(const String& type) {}

void ClipboardItem::Trace(Visitor* visitor) const {}

}  // namespace blink