#ifndef CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_CUSTOMIZE_CHROME_MOJOM_H_
#define CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_CUSTOMIZE_CHROME_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/customize_chrome.mojom-features.h"
#include "chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome.mojom-shared.h"
#include "chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome.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::mojom {
class CustomizeChromePageHandlerFactoryProxy;
template <typename ImplRefTraits>
class CustomizeChromePageHandlerFactoryStub;
class CustomizeChromePageHandlerFactoryRequestValidator;
class CustomizeChromePageHandlerFactory
: public CustomizeChromePageHandlerFactoryInterfaceBase { … };
class CustomizeChromePageHandlerProxy;
template <typename ImplRefTraits>
class CustomizeChromePageHandlerStub;
class CustomizeChromePageHandlerRequestValidator;
class CustomizeChromePageHandlerResponseValidator;
class CustomizeChromePageHandler
: public CustomizeChromePageHandlerInterfaceBase { … };
class CustomizeChromePageProxy;
template <typename ImplRefTraits>
class CustomizeChromePageStub;
class CustomizeChromePageRequestValidator;
class CustomizeChromePage
: public CustomizeChromePageInterfaceBase { … };
class CustomizeChromePageHandlerFactoryProxy
: public CustomizeChromePageHandlerFactory { … };
class CustomizeChromePageHandlerProxy
: public CustomizeChromePageHandler { … };
class CustomizeChromePageProxy
: public CustomizeChromePage { … };
class CustomizeChromePageHandlerFactoryStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CustomizeChromePageHandlerFactory>>
class CustomizeChromePageHandlerFactoryStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CustomizeChromePageHandlerFactoryStub() = default;
~CustomizeChromePageHandlerFactoryStub() 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 CustomizeChromePageHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CustomizeChromePageHandler>>
class CustomizeChromePageHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CustomizeChromePageHandlerStub() = default;
~CustomizeChromePageHandlerStub() 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 CustomizeChromePageStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CustomizeChromePage>>
class CustomizeChromePageStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CustomizeChromePageStub() = default;
~CustomizeChromePageStub() 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 CustomizeChromePageHandlerFactoryRequestValidator : public mojo::MessageReceiver { … };
class CustomizeChromePageHandlerRequestValidator : public mojo::MessageReceiver { … };
class CustomizeChromePageRequestValidator : public mojo::MessageReceiver { … };
class CustomizeChromePageHandlerResponseValidator : public mojo::MessageReceiver { … };
class ThirdPartyThemeInfo { … };
template <typename T, ThirdPartyThemeInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ThirdPartyThemeInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ThirdPartyThemeInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ThirdPartyThemeInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ModuleSettings { … };
template <typename T, ModuleSettings::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ModuleSettings::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ModuleSettings::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ModuleSettings::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BackgroundImage { … };
template <typename T, BackgroundImage::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BackgroundImage::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BackgroundImage::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BackgroundImage::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Theme { … };
template <typename T, Theme::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Theme::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Theme::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Theme::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BackgroundCollection { … };
template <typename T, BackgroundCollection::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BackgroundCollection::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BackgroundCollection::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BackgroundCollection::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CollectionImage { … };
template <typename T, CollectionImage::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CollectionImage::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CollectionImage::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CollectionImage::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BackgroundImagePtr BackgroundImage::Clone() const { … }
template <typename T, BackgroundImage::EnableIfSame<T>*>
bool BackgroundImage::Equals(const T& other_struct) const { … }
template <typename T, BackgroundImage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ThirdPartyThemeInfoPtr ThirdPartyThemeInfo::Clone() const { … }
template <typename T, ThirdPartyThemeInfo::EnableIfSame<T>*>
bool ThirdPartyThemeInfo::Equals(const T& other_struct) const { … }
template <typename T, ThirdPartyThemeInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ThemePtr Theme::Clone() const { … }
template <typename T, Theme::EnableIfSame<T>*>
bool Theme::Equals(const T& other_struct) const { … }
template <typename T, Theme::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BackgroundCollectionPtr BackgroundCollection::Clone() const { … }
template <typename T, BackgroundCollection::EnableIfSame<T>*>
bool BackgroundCollection::Equals(const T& other_struct) const { … }
template <typename T, BackgroundCollection::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CollectionImagePtr CollectionImage::Clone() const { … }
template <typename T, CollectionImage::EnableIfSame<T>*>
bool CollectionImage::Equals(const T& other_struct) const { … }
template <typename T, CollectionImage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ModuleSettingsPtr ModuleSettings::Clone() const { … }
template <typename T, ModuleSettings::EnableIfSame<T>*>
bool ModuleSettings::Equals(const T& other_struct) const { … }
template <typename T, ModuleSettings::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::side_panel::mojom::BackgroundImage::DataView,
::side_panel::mojom::BackgroundImagePtr> { … };
template <>
struct StructTraits<::side_panel::mojom::ThirdPartyThemeInfo::DataView,
::side_panel::mojom::ThirdPartyThemeInfoPtr> { … };
template <>
struct StructTraits<::side_panel::mojom::Theme::DataView,
::side_panel::mojom::ThemePtr> { … };
template <>
struct StructTraits<::side_panel::mojom::BackgroundCollection::DataView,
::side_panel::mojom::BackgroundCollectionPtr> { … };
template <>
struct StructTraits<::side_panel::mojom::CollectionImage::DataView,
::side_panel::mojom::CollectionImagePtr> { … };
template <>
struct StructTraits<::side_panel::mojom::ModuleSettings::DataView,
::side_panel::mojom::ModuleSettingsPtr> { … };
}
#endif