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

// third_party/blink/public/mojom/context_menu/context_menu.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_CONTEXT_MENU_CONTEXT_MENU_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTEXT_MENU_CONTEXT_MENU_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/context_menu/context_menu.mojom-shared-internal.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "services/network/public/mojom/referrer_policy.mojom-shared.h"
#include "third_party/blink/public/mojom/conversions/conversions.mojom-shared.h"
#include "third_party/blink/public/mojom/forms/form_control_type.mojom-shared.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "url/mojom/url.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 FormRendererIdDataView;

class FieldRendererIdDataView;

class CustomContextMenuItemDataView;

class UntrustworthyContextMenuParamsDataView;



}  // blink::mojom

namespace mojo {
namespace internal {

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

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

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

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

}  // namespace internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

template <>
struct hash<::blink::mojom::ContextMenuDataMediaType>
    : public mojo::internal::EnumHashImpl<::blink::mojom::ContextMenuDataMediaType> {};

template <>
struct hash<::blink::mojom::CustomContextMenuItemType>
    : public mojo::internal::EnumHashImpl<::blink::mojom::CustomContextMenuItemType> {};

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {





inline void CustomContextMenuItemDataView::GetLabelDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void CustomContextMenuItemDataView::GetIconDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void CustomContextMenuItemDataView::GetToolTipDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void CustomContextMenuItemDataView::GetSubmenuDataView(
    mojo::ArrayDataView<CustomContextMenuItemDataView>* output) {}


inline void UntrustworthyContextMenuParamsDataView::GetLinkUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetLinkTextDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetImpressionDataView(
    ::blink::mojom::ImpressionDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetUnfilteredLinkUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetSrcUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetSelectionTextDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetTitleTextDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetAltTextDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetSuggestedFilenameDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetMisspelledWordDataView(
    ::mojo_base::mojom::String16DataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetDictionarySuggestionsDataView(
    mojo::ArrayDataView<::mojo_base::mojom::String16DataView>* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetFrameCharsetDataView(
    mojo::StringDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetLinkFollowedDataView(
    ::url::mojom::UrlDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetCustomItemsDataView(
    mojo::ArrayDataView<CustomContextMenuItemDataView>* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetSelectionRectDataView(
    ::gfx::mojom::RectDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetFieldRendererIdDataView(
    FieldRendererIdDataView* output) {}
inline void UntrustworthyContextMenuParamsDataView::GetFormRendererIdDataView(
    FormRendererIdDataView* output) {}



}  // blink::mojom

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

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::ContextMenuDataMediaType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::CustomContextMenuItemType> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTEXT_MENU_CONTEXT_MENU_MOJOM_SHARED_H_