chromium/out/Default/gen/ui/webui/resources/cr_components/searchbox/searchbox.mojom.h

// ui/webui/resources/cr_components/searchbox/searchbox.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// 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.

#ifndef UI_WEBUI_RESOURCES_CR_COMPONENTS_SEARCHBOX_SEARCHBOX_MOJOM_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_SEARCHBOX_SEARCHBOX_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

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

#include "ui/webui/resources/cr_components/searchbox/searchbox.mojom-features.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/searchbox/searchbox.mojom-shared.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/searchbox/searchbox.mojom-forward.h"  // IWYU pragma: export
#include "components/omnibox/browser/omnibox.mojom-forward.h"
#include "mojo/public/mojom/base/string16.mojom.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "url/mojom/url.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"






namespace searchbox::mojom {

class PageHandlerProxy;

template <typename ImplRefTraits>
class PageHandlerStub;

class PageHandlerRequestValidator;


class PageHandler
    : public PageHandlerInterfaceBase {};

class PageProxy;

template <typename ImplRefTraits>
class PageStub;

class PageRequestValidator;


class Page
    : public PageInterfaceBase {};



class  PageHandlerProxy
    : public PageHandler {};



class  PageProxy
    : public Page {};
class  PageHandlerStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<PageHandler>>
class PageHandlerStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  PageHandlerStub() = default;
  ~PageHandlerStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  PageStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<Page>>
class PageStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  PageStub() = default;
  ~PageStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  PageHandlerRequestValidator : public mojo::MessageReceiver {};
class  PageRequestValidator : public mojo::MessageReceiver {};





class  ACMatchClassification {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ACMatchClassification::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ACMatchClassification::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ACMatchClassification::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ACMatchClassification::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}










class  OmniboxPopupSelection {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, OmniboxPopupSelection::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, OmniboxPopupSelection::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, OmniboxPopupSelection::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, OmniboxPopupSelection::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}








class  Action {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Action::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Action::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Action::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Action::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  SuggestionAnswer {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SuggestionAnswer::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SuggestionAnswer::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SuggestionAnswer::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SuggestionAnswer::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  AutocompleteMatch {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, AutocompleteMatch::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, AutocompleteMatch::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, AutocompleteMatch::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, AutocompleteMatch::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  SuggestionGroup {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SuggestionGroup::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SuggestionGroup::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SuggestionGroup::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SuggestionGroup::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  AutocompleteResult {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, AutocompleteResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, AutocompleteResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, AutocompleteResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, AutocompleteResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}


template <typename StructPtrType>
ACMatchClassificationPtr ACMatchClassification::Clone() const {}

template <typename T, ACMatchClassification::EnableIfSame<T>*>
bool ACMatchClassification::Equals(const T& other_struct) const {}

template <typename T, ACMatchClassification::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ActionPtr Action::Clone() const {}

template <typename T, Action::EnableIfSame<T>*>
bool Action::Equals(const T& other_struct) const {}

template <typename T, Action::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SuggestionAnswerPtr SuggestionAnswer::Clone() const {}

template <typename T, SuggestionAnswer::EnableIfSame<T>*>
bool SuggestionAnswer::Equals(const T& other_struct) const {}

template <typename T, SuggestionAnswer::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
AutocompleteMatchPtr AutocompleteMatch::Clone() const {}

template <typename T, AutocompleteMatch::EnableIfSame<T>*>
bool AutocompleteMatch::Equals(const T& other_struct) const {}

template <typename T, AutocompleteMatch::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SuggestionGroupPtr SuggestionGroup::Clone() const {}

template <typename T, SuggestionGroup::EnableIfSame<T>*>
bool SuggestionGroup::Equals(const T& other_struct) const {}

template <typename T, SuggestionGroup::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
AutocompleteResultPtr AutocompleteResult::Clone() const {}

template <typename T, AutocompleteResult::EnableIfSame<T>*>
bool AutocompleteResult::Equals(const T& other_struct) const {}

template <typename T, AutocompleteResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
OmniboxPopupSelectionPtr OmniboxPopupSelection::Clone() const {}

template <typename T, OmniboxPopupSelection::EnableIfSame<T>*>
bool OmniboxPopupSelection::Equals(const T& other_struct) const {}

template <typename T, OmniboxPopupSelection::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // searchbox::mojom

namespace mojo {


template <>
struct  StructTraits<::searchbox::mojom::ACMatchClassification::DataView,
                                         ::searchbox::mojom::ACMatchClassificationPtr> {};


template <>
struct  StructTraits<::searchbox::mojom::Action::DataView,
                                         ::searchbox::mojom::ActionPtr> {};


template <>
struct  StructTraits<::searchbox::mojom::SuggestionAnswer::DataView,
                                         ::searchbox::mojom::SuggestionAnswerPtr> {};


template <>
struct  StructTraits<::searchbox::mojom::AutocompleteMatch::DataView,
                                         ::searchbox::mojom::AutocompleteMatchPtr> {};


template <>
struct  StructTraits<::searchbox::mojom::SuggestionGroup::DataView,
                                         ::searchbox::mojom::SuggestionGroupPtr> {};


template <>
struct  StructTraits<::searchbox::mojom::AutocompleteResult::DataView,
                                         ::searchbox::mojom::AutocompleteResultPtr> {};


template <>
struct  StructTraits<::searchbox::mojom::OmniboxPopupSelection::DataView,
                                         ::searchbox::mojom::OmniboxPopupSelectionPtr> {};

}  // namespace mojo

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_SEARCHBOX_SEARCHBOX_MOJOM_H_