#ifndef UI_WEBUI_RESOURCES_CR_COMPONENTS_SEARCHBOX_SEARCHBOX_MOJOM_SHARED_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_SEARCHBOX_SEARCHBOX_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/searchbox/searchbox.mojom-shared-internal.h"
#include "components/omnibox/browser/omnibox.mojom-shared.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/mojom/base/time.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"
namespace searchbox::mojom {
class ACMatchClassificationDataView;
class ActionDataView;
class SuggestionAnswerDataView;
class AutocompleteMatchDataView;
class SuggestionGroupDataView;
class AutocompleteResultDataView;
class OmniboxPopupSelectionDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::searchbox::mojom::ACMatchClassificationDataView> { … };
template <>
struct MojomTypeTraits<::searchbox::mojom::ActionDataView> { … };
template <>
struct MojomTypeTraits<::searchbox::mojom::SuggestionAnswerDataView> { … };
template <>
struct MojomTypeTraits<::searchbox::mojom::AutocompleteMatchDataView> { … };
template <>
struct MojomTypeTraits<::searchbox::mojom::SuggestionGroupDataView> { … };
template <>
struct MojomTypeTraits<::searchbox::mojom::AutocompleteResultDataView> { … };
template <>
struct MojomTypeTraits<::searchbox::mojom::OmniboxPopupSelectionDataView> { … };
}
}
namespace searchbox::mojom {
enum class SideType : int32_t { … };
std::ostream& operator<<(std::ostream& os, SideType value);
inline bool IsKnownEnumValue(SideType value) { … }
enum class RenderType : int32_t { … };
std::ostream& operator<<(std::ostream& os, RenderType value);
inline bool IsKnownEnumValue(RenderType value) { … }
enum class SelectionLineState : int32_t { … };
std::ostream& operator<<(std::ostream& os, SelectionLineState value);
inline bool IsKnownEnumValue(SelectionLineState value) { … }
class PageHandlerInterfaceBase { … };
PageHandlerPtrDataView;
PageHandlerRequestDataView;
PageHandlerAssociatedPtrInfoDataView;
PageHandlerAssociatedRequestDataView;
class PageInterfaceBase { … };
PagePtrDataView;
PageRequestDataView;
PageAssociatedPtrInfoDataView;
PageAssociatedRequestDataView;
class ACMatchClassificationDataView { … };
class ActionDataView { … };
class SuggestionAnswerDataView { … };
class AutocompleteMatchDataView { … };
class SuggestionGroupDataView { … };
class AutocompleteResultDataView { … };
class OmniboxPopupSelectionDataView { … };
}
namespace std {
template <>
struct hash<::searchbox::mojom::SideType>
: public mojo::internal::EnumHashImpl<::searchbox::mojom::SideType> { … };
template <>
struct hash<::searchbox::mojom::RenderType>
: public mojo::internal::EnumHashImpl<::searchbox::mojom::RenderType> { … };
template <>
struct hash<::searchbox::mojom::SelectionLineState>
: public mojo::internal::EnumHashImpl<::searchbox::mojom::SelectionLineState> { … };
}
namespace mojo {
namespace internal {
Serializer< ::searchbox::mojom::SideType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::RenderType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::SelectionLineState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::ACMatchClassificationDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::ActionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::SuggestionAnswerDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::AutocompleteMatchDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::SuggestionGroupDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::AutocompleteResultDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::searchbox::mojom::OmniboxPopupSelectionDataView, MaybeConstUserType>;
}
}
namespace searchbox::mojom {
inline void ActionDataView::GetA11yLabelDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void ActionDataView::GetHintDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void ActionDataView::GetSuggestionContentsDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void ActionDataView::GetIconUrlDataView(
mojo::StringDataView* output) { … }
inline void SuggestionAnswerDataView::GetFirstLineDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void SuggestionAnswerDataView::GetSecondLineDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetA11yLabelDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetActionsDataView(
mojo::ArrayDataView<ActionDataView>* output) { … }
inline void AutocompleteMatchDataView::GetAnswerDataView(
SuggestionAnswerDataView* output) { … }
inline void AutocompleteMatchDataView::GetContentsDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetContentsClassDataView(
mojo::ArrayDataView<ACMatchClassificationDataView>* output) { … }
inline void AutocompleteMatchDataView::GetDescriptionDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetDescriptionClassDataView(
mojo::ArrayDataView<ACMatchClassificationDataView>* output) { … }
inline void AutocompleteMatchDataView::GetDestinationUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void AutocompleteMatchDataView::GetInlineAutocompletionDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetFillIntoEditDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetIconUrlDataView(
mojo::StringDataView* output) { … }
inline void AutocompleteMatchDataView::GetImageDominantColorDataView(
mojo::StringDataView* output) { … }
inline void AutocompleteMatchDataView::GetImageUrlDataView(
mojo::StringDataView* output) { … }
inline void AutocompleteMatchDataView::GetTypeDataView(
mojo::StringDataView* output) { … }
inline void AutocompleteMatchDataView::GetRemoveButtonA11yLabelDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteMatchDataView::GetTailSuggestCommonPrefixDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void SuggestionGroupDataView::GetHeaderDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void SuggestionGroupDataView::GetHideGroupA11yLabelDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void SuggestionGroupDataView::GetShowGroupA11yLabelDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteResultDataView::GetInputDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void AutocompleteResultDataView::GetSuggestionGroupsMapDataView(
mojo::MapDataView<int32_t, SuggestionGroupDataView>* output) { … }
inline void AutocompleteResultDataView::GetMatchesDataView(
mojo::ArrayDataView<AutocompleteMatchDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::searchbox::mojom::SideType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::searchbox::mojom::RenderType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::searchbox::mojom::SelectionLineState> { … };
}
#endif