chromium/out/Default/gen/ui/webui/resources/cr_components/help_bubble/help_bubble.mojom-shared.h

// ui/webui/resources/cr_components/help_bubble/help_bubble.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 UI_WEBUI_RESOURCES_CR_COMPONENTS_HELP_BUBBLE_HELP_BUBBLE_MOJOM_SHARED_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_HELP_BUBBLE_HELP_BUBBLE_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 "ui/webui/resources/cr_components/help_bubble/help_bubble.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace help_bubble::mojom {
class HelpBubbleButtonParamsDataView;

class ProgressDataView;

class HelpBubbleParamsDataView;



}  // help_bubble::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::help_bubble::mojom::HelpBubbleButtonParamsDataView> {};

template <>
struct MojomTypeTraits<::help_bubble::mojom::ProgressDataView> {};

template <>
struct MojomTypeTraits<::help_bubble::mojom::HelpBubbleParamsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace help_bubble::mojom {


enum class HelpBubbleArrowPosition : int32_t {};

 std::ostream& operator<<(std::ostream& os, HelpBubbleArrowPosition value);
inline bool IsKnownEnumValue(HelpBubbleArrowPosition value) {}


enum class HelpBubbleClosedReason : int32_t {};

 std::ostream& operator<<(std::ostream& os, HelpBubbleClosedReason value);
inline bool IsKnownEnumValue(HelpBubbleClosedReason value) {}
// Interface base classes. They are used for type safety check.
class HelpBubbleHandlerFactoryInterfaceBase {};

HelpBubbleHandlerFactoryPtrDataView;
HelpBubbleHandlerFactoryRequestDataView;
HelpBubbleHandlerFactoryAssociatedPtrInfoDataView;
HelpBubbleHandlerFactoryAssociatedRequestDataView;
class HelpBubbleHandlerInterfaceBase {};

HelpBubbleHandlerPtrDataView;
HelpBubbleHandlerRequestDataView;
HelpBubbleHandlerAssociatedPtrInfoDataView;
HelpBubbleHandlerAssociatedRequestDataView;
class HelpBubbleClientInterfaceBase {};

HelpBubbleClientPtrDataView;
HelpBubbleClientRequestDataView;
HelpBubbleClientAssociatedPtrInfoDataView;
HelpBubbleClientAssociatedRequestDataView;


class HelpBubbleButtonParamsDataView {};


class ProgressDataView {};


class HelpBubbleParamsDataView {};


}  // help_bubble::mojom

namespace std {

template <>
struct hash<::help_bubble::mojom::HelpBubbleArrowPosition>
    : public mojo::internal::EnumHashImpl<::help_bubble::mojom::HelpBubbleArrowPosition> {};

template <>
struct hash<::help_bubble::mojom::HelpBubbleClosedReason>
    : public mojo::internal::EnumHashImpl<::help_bubble::mojom::HelpBubbleClosedReason> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::help_bubble::mojom::HelpBubbleArrowPosition, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::help_bubble::mojom::HelpBubbleClosedReason, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::help_bubble::mojom::HelpBubbleButtonParamsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::help_bubble::mojom::ProgressDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::help_bubble::mojom::HelpBubbleParamsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace help_bubble::mojom {

inline void HelpBubbleButtonParamsDataView::GetTextDataView(
    mojo::StringDataView* output) {}




inline void HelpBubbleParamsDataView::GetNativeIdentifierDataView(
    mojo::StringDataView* output) {}
inline void HelpBubbleParamsDataView::GetTitleTextDataView(
    mojo::StringDataView* output) {}
inline void HelpBubbleParamsDataView::GetBodyTextDataView(
    mojo::StringDataView* output) {}
inline void HelpBubbleParamsDataView::GetCloseButtonAltTextDataView(
    mojo::StringDataView* output) {}
inline void HelpBubbleParamsDataView::GetBodyIconNameDataView(
    mojo::StringDataView* output) {}
inline void HelpBubbleParamsDataView::GetBodyIconAltTextDataView(
    mojo::StringDataView* output) {}
inline void HelpBubbleParamsDataView::GetProgressDataView(
    ProgressDataView* output) {}
inline void HelpBubbleParamsDataView::GetButtonsDataView(
    mojo::ArrayDataView<HelpBubbleButtonParamsDataView>* output) {}
inline void HelpBubbleParamsDataView::GetTimeoutDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}



}  // help_bubble::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::help_bubble::mojom::HelpBubbleArrowPosition> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::help_bubble::mojom::HelpBubbleClosedReason> {};

} // namespace perfetto

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_HELP_BUBBLE_HELP_BUBBLE_MOJOM_SHARED_H_