chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc

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

#include "ui/base/dragdrop/os_exchange_data_provider_non_backed.h"

#include <memory>
#include <optional>
#include <string>

#include "base/check.h"
#include "base/containers/contains.h"
#include "base/files/file_path.h"
#include "base/strings/utf_string_conversions.h"
#include "build/chromeos_buildflags.h"
#include "net/base/filename_util.h"
#include "ui/base/clipboard/clipboard_format_type.h"
#include "ui/base/clipboard/file_info.h"
#include "ui/base/data_transfer_policy/data_transfer_endpoint.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/dragdrop/os_exchange_data_provider.h"
#include "url/gurl.h"

namespace ui {

OSExchangeDataProviderNonBacked::OSExchangeDataProviderNonBacked() = default;

OSExchangeDataProviderNonBacked::~OSExchangeDataProviderNonBacked() = default;

std::unique_ptr<OSExchangeDataProvider> OSExchangeDataProviderNonBacked::Clone()
    const {}

void OSExchangeDataProviderNonBacked::MarkRendererTaintedFromOrigin(
    const url::Origin& origin) {}

bool OSExchangeDataProviderNonBacked::IsRendererTainted() const {}

std::optional<url::Origin>
OSExchangeDataProviderNonBacked::GetRendererTaintedOrigin() const {}

void OSExchangeDataProviderNonBacked::MarkAsFromPrivileged() {}

bool OSExchangeDataProviderNonBacked::IsFromPrivileged() const {}

void OSExchangeDataProviderNonBacked::SetString(const std::u16string& data) {}

void OSExchangeDataProviderNonBacked::SetURL(const GURL& url,
                                             const std::u16string& title) {}

void OSExchangeDataProviderNonBacked::SetFilename(const base::FilePath& path) {}

void OSExchangeDataProviderNonBacked::SetFilenames(
    const std::vector<FileInfo>& filenames) {}

void OSExchangeDataProviderNonBacked::SetPickledData(
    const ClipboardFormatType& format,
    const base::Pickle& data) {}

std::optional<std::u16string> OSExchangeDataProviderNonBacked::GetString()
    const {}

std::optional<OSExchangeDataProvider::UrlInfo>
OSExchangeDataProviderNonBacked::GetURLAndTitle(
    FilenameToURLPolicy policy) const {}

std::optional<std::vector<GURL>> OSExchangeDataProviderNonBacked::GetURLs(
    FilenameToURLPolicy policy) const {}

std::optional<std::vector<FileInfo>>
OSExchangeDataProviderNonBacked::GetFilenames() const {}

std::optional<base::Pickle> OSExchangeDataProviderNonBacked::GetPickledData(
    const ClipboardFormatType& format) const {}

bool OSExchangeDataProviderNonBacked::HasString() const {}

bool OSExchangeDataProviderNonBacked::HasURL(FilenameToURLPolicy policy) const {}

bool OSExchangeDataProviderNonBacked::HasFile() const {}

bool OSExchangeDataProviderNonBacked::HasCustomFormat(
    const ClipboardFormatType& format) const {}

void OSExchangeDataProviderNonBacked::SetFileContents(
    const base::FilePath& filename,
    const std::string& file_contents) {}

std::optional<OSExchangeDataProvider::FileContentsInfo>
OSExchangeDataProviderNonBacked::GetFileContents() const {}

bool OSExchangeDataProviderNonBacked::HasFileContents() const {}

void OSExchangeDataProviderNonBacked::SetHtml(const std::u16string& html,
                                              const GURL& base_url) {}

std::optional<OSExchangeData::HtmlInfo>
OSExchangeDataProviderNonBacked::GetHtml() const {}

bool OSExchangeDataProviderNonBacked::HasHtml() const {}

void OSExchangeDataProviderNonBacked::SetDragImage(
    const gfx::ImageSkia& image,
    const gfx::Vector2d& cursor_offset) {}

gfx::ImageSkia OSExchangeDataProviderNonBacked::GetDragImage() const {}

gfx::Vector2d OSExchangeDataProviderNonBacked::GetDragImageOffset() const {}

bool OSExchangeDataProviderNonBacked::GetFileURL(GURL* url) const {}

bool OSExchangeDataProviderNonBacked::GetPlainTextURL(GURL* url) const {}

void OSExchangeDataProviderNonBacked::SetSource(
    std::unique_ptr<DataTransferEndpoint> data_source) {}

DataTransferEndpoint* OSExchangeDataProviderNonBacked::GetSource() const {}

void OSExchangeDataProviderNonBacked::CopyData(
    OSExchangeDataProviderNonBacked* provider) const {}

}  // namespace ui