chromium/ui/base/clipboard/clipboard_constants.cc

// Copyright 2013 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/clipboard/clipboard_constants.h"

#include "build/build_config.h"

namespace ui {

const char kMimeTypeText[] =;
const char kMimeTypeTextUtf8[] =;
// Used for file:// URLs.
const char kMimeTypeURIList[] =;
// Used for site URL bookmarks.
const char kMimeTypeMozillaURL[] =;
const char kMimeTypeDownloadURL[] =;
const char kMimeTypeHTML[] =;
const char kMimeTypeHTMLUtf8[] =;
const char kMimeTypeSvg[] =;
const char kMimeTypeRTF[] =;
const char kMimeTypePNG[] =;
// Used for image drag & drop from LaCrOS.
const char kMimeTypeOctetStream[] =;
// Used for window dragging on some platforms.
const char kMimeTypeWindowDrag[] =;

#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
const char kMimeTypeLinuxUtf8String[] =;
const char kMimeTypeLinuxString[] =;
const char kMimeTypeLinuxText[] =;
const char kMimeTypeLinuxSourceUrl[] =;
#endif  // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
        // BUILDFLAG(IS_FUCHSIA)

#if BUILDFLAG(IS_CHROMEOS)
// Used to sync clipboard source metadata between Ash and LaCrOS.
const char kMimeTypeDataTransferEndpoint[] =
    "chromium/x-data-transfer-endpoint";
#endif  // BUILDFLAG(IS_CHROMEOS)

#if !BUILDFLAG(IS_APPLE)
const char kMimeTypeDataTransferCustomData[] =;
const char kMimeTypeWebkitSmartPaste[] =;
#endif  // BUILDFLAG(IS_APPLE)

#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)
const char kMimeTypeImageURI[] = "image-uri";
#endif  // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_IOS)

const int kMaxRegisteredClipboardFormats =;
const char kWebClipboardFormatPrefix[] =;

}  // namespace ui