#ifndef CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_WALLPAPER_SEARCH_WALLPAPER_SEARCH_MOJOM_H_
#define CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_WALLPAPER_SEARCH_WALLPAPER_SEARCH_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 "chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search.mojom-features.h"
#include "chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search.mojom-shared.h"
#include "chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search.mojom-forward.h"
#include "mojo/public/mojom/base/token.mojom.h"
#include "skia/public/mojom/skcolor.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 side_panel::customize_chrome::mojom {
class WallpaperSearchHandlerFactoryProxy;
template <typename ImplRefTraits>
class WallpaperSearchHandlerFactoryStub;
class WallpaperSearchHandlerFactoryRequestValidator;
class WallpaperSearchHandlerFactory
: public WallpaperSearchHandlerFactoryInterfaceBase { … };
class WallpaperSearchHandlerProxy;
template <typename ImplRefTraits>
class WallpaperSearchHandlerStub;
class WallpaperSearchHandlerRequestValidator;
class WallpaperSearchHandlerResponseValidator;
class WallpaperSearchHandler
: public WallpaperSearchHandlerInterfaceBase { … };
class WallpaperSearchClientProxy;
template <typename ImplRefTraits>
class WallpaperSearchClientStub;
class WallpaperSearchClientRequestValidator;
class WallpaperSearchClient
: public WallpaperSearchClientInterfaceBase { … };
class WallpaperSearchHandlerFactoryProxy
: public WallpaperSearchHandlerFactory { … };
class WallpaperSearchHandlerProxy
: public WallpaperSearchHandler { … };
class WallpaperSearchClientProxy
: public WallpaperSearchClient { … };
class WallpaperSearchHandlerFactoryStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<WallpaperSearchHandlerFactory>>
class WallpaperSearchHandlerFactoryStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
WallpaperSearchHandlerFactoryStub() = default;
~WallpaperSearchHandlerFactoryStub() 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 WallpaperSearchHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<WallpaperSearchHandler>>
class WallpaperSearchHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
WallpaperSearchHandlerStub() = default;
~WallpaperSearchHandlerStub() 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 WallpaperSearchClientStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<WallpaperSearchClient>>
class WallpaperSearchClientStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
WallpaperSearchClientStub() = default;
~WallpaperSearchClientStub() 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 WallpaperSearchHandlerFactoryRequestValidator : public mojo::MessageReceiver { … };
class WallpaperSearchHandlerRequestValidator : public mojo::MessageReceiver { … };
class WallpaperSearchClientRequestValidator : public mojo::MessageReceiver { … };
class WallpaperSearchHandlerResponseValidator : public mojo::MessageReceiver { … };
class KeyLabel { … };
template <typename T, KeyLabel::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, KeyLabel::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, KeyLabel::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, KeyLabel::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class DescriptorB { … };
template <typename T, DescriptorB::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, DescriptorB::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, DescriptorB::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, DescriptorB::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class DescriptorDValue { … };
class Group { … };
template <typename T, Group::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Group::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Group::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Group::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Descriptors { … };
template <typename T, Descriptors::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Descriptors::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Descriptors::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Descriptors::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Inspiration { … };
template <typename T, Inspiration::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Inspiration::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Inspiration::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Inspiration::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class InspirationDescriptors { … };
template <typename T, InspirationDescriptors::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, InspirationDescriptors::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, InspirationDescriptors::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, InspirationDescriptors::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class InspirationGroup { … };
template <typename T, InspirationGroup::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, InspirationGroup::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, InspirationGroup::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, InspirationGroup::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class WallpaperSearchResult { … };
template <typename T, WallpaperSearchResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, WallpaperSearchResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, WallpaperSearchResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, WallpaperSearchResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ResultDescriptors { … };
template <typename T, ResultDescriptors::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ResultDescriptors::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ResultDescriptors::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ResultDescriptors::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename UnionPtrType>
DescriptorDValuePtr DescriptorDValue::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, DescriptorDValue>::value>::type*>
bool DescriptorDValue::Equals(const T& other) const { … }
template <typename StructPtrType>
KeyLabelPtr KeyLabel::Clone() const { … }
template <typename T, KeyLabel::EnableIfSame<T>*>
bool KeyLabel::Equals(const T& other_struct) const { … }
template <typename T, KeyLabel::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GroupPtr Group::Clone() const { … }
template <typename T, Group::EnableIfSame<T>*>
bool Group::Equals(const T& other_struct) const { … }
template <typename T, Group::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
DescriptorBPtr DescriptorB::Clone() const { … }
template <typename T, DescriptorB::EnableIfSame<T>*>
bool DescriptorB::Equals(const T& other_struct) const { … }
template <typename T, DescriptorB::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
DescriptorsPtr Descriptors::Clone() const { … }
template <typename T, Descriptors::EnableIfSame<T>*>
bool Descriptors::Equals(const T& other_struct) const { … }
template <typename T, Descriptors::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
InspirationPtr Inspiration::Clone() const { … }
template <typename T, Inspiration::EnableIfSame<T>*>
bool Inspiration::Equals(const T& other_struct) const { … }
template <typename T, Inspiration::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
InspirationDescriptorsPtr InspirationDescriptors::Clone() const { … }
template <typename T, InspirationDescriptors::EnableIfSame<T>*>
bool InspirationDescriptors::Equals(const T& other_struct) const { … }
template <typename T, InspirationDescriptors::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
InspirationGroupPtr InspirationGroup::Clone() const { … }
template <typename T, InspirationGroup::EnableIfSame<T>*>
bool InspirationGroup::Equals(const T& other_struct) const { … }
template <typename T, InspirationGroup::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
WallpaperSearchResultPtr WallpaperSearchResult::Clone() const { … }
template <typename T, WallpaperSearchResult::EnableIfSame<T>*>
bool WallpaperSearchResult::Equals(const T& other_struct) const { … }
template <typename T, WallpaperSearchResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ResultDescriptorsPtr ResultDescriptors::Clone() const { … }
template <typename T, ResultDescriptors::EnableIfSame<T>*>
bool ResultDescriptors::Equals(const T& other_struct) const { … }
template <typename T, ResultDescriptors::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::KeyLabel::DataView,
::side_panel::customize_chrome::mojom::KeyLabelPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::Group::DataView,
::side_panel::customize_chrome::mojom::GroupPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::DescriptorB::DataView,
::side_panel::customize_chrome::mojom::DescriptorBPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::Descriptors::DataView,
::side_panel::customize_chrome::mojom::DescriptorsPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::Inspiration::DataView,
::side_panel::customize_chrome::mojom::InspirationPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::InspirationDescriptors::DataView,
::side_panel::customize_chrome::mojom::InspirationDescriptorsPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::InspirationGroup::DataView,
::side_panel::customize_chrome::mojom::InspirationGroupPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::WallpaperSearchResult::DataView,
::side_panel::customize_chrome::mojom::WallpaperSearchResultPtr> { … };
template <>
struct StructTraits<::side_panel::customize_chrome::mojom::ResultDescriptors::DataView,
::side_panel::customize_chrome::mojom::ResultDescriptorsPtr> { … };
template <>
struct UnionTraits<::side_panel::customize_chrome::mojom::DescriptorDValue::DataView,
::side_panel::customize_chrome::mojom::DescriptorDValuePtr> { … };
}
#endif