chromium/out/Default/gen/third_party/blink/public/mojom/drag/drag.mojom-shared.h

// third_party/blink/public/mojom/drag/drag.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

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

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_DRAG_DRAG_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_DRAG_DRAG_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "third_party/blink/public/mojom/drag/drag.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "services/network/public/mojom/referrer_policy.mojom-shared.h"
#include "ui/base/dragdrop/mojom/drag_drop_types.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "third_party/blink/public/mojom/data_transfer/data_transfer.mojom-shared.h"
#include "third_party/blink/public/mojom/blob/serialized_blob.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"


#include "base/component_export.h"




namespace blink::mojom {
class AllowedDragOperationsDataView;

class DragItemStringDataView;

class DragItemBinaryDataView;

class DragItemFileSystemFileDataView;

class DragDataDataView;

class DragEventSourceInfoDataView;

class DragItemDataView;


}  // blink::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::mojom::AllowedDragOperationsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DragItemStringDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DragItemBinaryDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DragItemFileSystemFileDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DragDataDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DragEventSourceInfoDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::DragItemDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blink::mojom {


class AllowedDragOperationsDataView {};


class DragItemStringDataView {};


class DragItemBinaryDataView {};


class DragItemFileSystemFileDataView {};


class DragDataDataView {};


class DragEventSourceInfoDataView {};


class DragItemDataView {};



}  // blink::mojom

namespace std {

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::mojom::AllowedDragOperationsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DragItemStringDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DragItemBinaryDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DragItemFileSystemFileDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DragDataDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DragEventSourceInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::DragItemDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {



inline void DragItemStringDataView::GetStringTypeDataView(
    mojo::StringDataView* output) {}
inline void DragItemStringDataView::GetStringDataDataView(
    ::mojo_base::mojom::BigString16DataView* output) {}
inline void DragItemStringDataView::GetTitleDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void DragItemStringDataView::GetBaseUrlDataView(
    ::url::mojom::UrlDataView* output) {}


inline void DragItemBinaryDataView::GetDataDataView(
    ::mojo_base::mojom::BigBufferDataView* output) {}
inline void DragItemBinaryDataView::GetSourceUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void DragItemBinaryDataView::GetFilenameExtensionDataView(
    ::mojo_base::mojom::FilePathDataView* output) {}
inline void DragItemBinaryDataView::GetContentDispositionDataView(
    mojo::StringDataView* output) {}


inline void DragItemFileSystemFileDataView::GetUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void DragItemFileSystemFileDataView::GetFileSystemIdDataView(
    mojo::StringDataView* output) {}
inline void DragItemFileSystemFileDataView::GetSerializedBlobDataView(
    ::blink::mojom::SerializedBlobDataView* output) {}


inline void DragDataDataView::GetItemsDataView(
    mojo::ArrayDataView<DragItemDataView>* output) {}
inline void DragDataDataView::GetFileSystemIdDataView(
    mojo::StringDataView* output) {}


inline void DragEventSourceInfoDataView::GetLocationDataView(
    ::gfx::mojom::PointDataView* output) {}


inline void DragItemDataView::GetStringDataView(
    DragItemStringDataView* output) const {}
inline void DragItemDataView::GetFileDataView(
    ::blink::mojom::DataTransferFileDataView* output) const {}
inline void DragItemDataView::GetBinaryDataView(
    DragItemBinaryDataView* output) const {}
inline void DragItemDataView::GetFileSystemFileDataView(
    DragItemFileSystemFileDataView* output) const {}


}  // blink::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_DRAG_DRAG_MOJOM_SHARED_H_