chromium/out/Default/gen/ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom.cc

// ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom.cc 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.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom-params-data.h"
#include "ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom-shared-message-ids.h"

#include "ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom-import-headers.h"
#include "ui/webui/resources/cr_components/theme_color_picker/theme_color_picker.mojom-test-utils.h"


namespace theme_color_picker::mojom {
Theme::Theme()
    :{}

Theme::Theme(
    bool has_background_image_in,
    bool has_third_party_theme_in,
    std::optional<::SkColor> background_image_main_color_in,
    bool is_dark_mode_in,
    ::SkColor seed_color_in,
    float seed_color_hue_in,
    ::SkColor background_color_in,
    std::optional<::SkColor> foreground_color_in,
    ::SkColor color_picker_icon_color_in,
    bool colors_managed_by_policy_in,
    bool is_grey_baseline_in,
    ::ui::mojom::BrowserColorVariant browser_color_variant_in,
    bool follow_device_theme_in)
    :{}

Theme::~Theme() = default;

void Theme::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Theme::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ChromeColor::ChromeColor()
    :{}

ChromeColor::ChromeColor(
    const std::string& name_in,
    ::SkColor seed_in,
    ::SkColor background_in,
    ::SkColor foreground_in,
    std::optional<::SkColor> base_in,
    ::ui::mojom::BrowserColorVariant variant_in)
    :{}

ChromeColor::~ChromeColor() = default;

void ChromeColor::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ChromeColor::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char ThemeColorPickerHandlerFactory::Name_[] =;

ThemeColorPickerHandlerFactory::IPCStableHashFunction ThemeColorPickerHandlerFactory::MessageToMethodInfo_(mojo::Message& message) {}


const char* ThemeColorPickerHandlerFactory::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ThemeColorPickerHandlerFactory::CreateThemeColorPickerHandler_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

ThemeColorPickerHandlerFactoryProxy::ThemeColorPickerHandlerFactoryProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void ThemeColorPickerHandlerFactoryProxy::CreateThemeColorPickerHandler(
    ::mojo::PendingReceiver<ThemeColorPickerHandler> in_handler, ::mojo::PendingRemote<ThemeColorPickerClient> in_client) {}

// static
bool ThemeColorPickerHandlerFactoryStubDispatch::Accept(
    ThemeColorPickerHandlerFactory* impl,
    mojo::Message* message) {}

// static
bool ThemeColorPickerHandlerFactoryStubDispatch::AcceptWithResponder(
    ThemeColorPickerHandlerFactory* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kThemeColorPickerHandlerFactoryValidationInfo[] =;

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

const char ThemeColorPickerHandler::Name_[] =;

ThemeColorPickerHandler::IPCStableHashFunction ThemeColorPickerHandler::MessageToMethodInfo_(mojo::Message& message) {}


const char* ThemeColorPickerHandler::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ThemeColorPickerHandler::GetChromeColors_Sym::IPCStableHash() {}
uint32_t ThemeColorPickerHandler::UpdateTheme_Sym::IPCStableHash() {}
uint32_t ThemeColorPickerHandler::SetDefaultColor_Sym::IPCStableHash() {}
uint32_t ThemeColorPickerHandler::SetGreyDefaultColor_Sym::IPCStableHash() {}
uint32_t ThemeColorPickerHandler::SetSeedColor_Sym::IPCStableHash() {}
uint32_t ThemeColorPickerHandler::SetSeedColorFromHue_Sym::IPCStableHash() {}
uint32_t ThemeColorPickerHandler::RemoveBackgroundImage_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class ThemeColorPickerHandler_GetChromeColors_ForwardToCallback
    : public mojo::MessageReceiver {};

ThemeColorPickerHandlerProxy::ThemeColorPickerHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void ThemeColorPickerHandlerProxy::GetChromeColors(
    bool in_is_dark_mode, GetChromeColorsCallback callback) {}

void ThemeColorPickerHandlerProxy::UpdateTheme(
    ) {}

void ThemeColorPickerHandlerProxy::SetDefaultColor(
    ) {}

void ThemeColorPickerHandlerProxy::SetGreyDefaultColor(
    ) {}

void ThemeColorPickerHandlerProxy::SetSeedColor(
    ::SkColor in_seed_color, ::ui::mojom::BrowserColorVariant in_variant) {}

void ThemeColorPickerHandlerProxy::SetSeedColorFromHue(
    float in_hue) {}

void ThemeColorPickerHandlerProxy::RemoveBackgroundImage(
    ) {}
class ThemeColorPickerHandler_GetChromeColors_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ThemeColorPickerHandler_GetChromeColors_ProxyToResponder::Run(
    std::vector<ChromeColorPtr> in_colors) {}

// static
bool ThemeColorPickerHandlerStubDispatch::Accept(
    ThemeColorPickerHandler* impl,
    mojo::Message* message) {}

// static
bool ThemeColorPickerHandlerStubDispatch::AcceptWithResponder(
    ThemeColorPickerHandler* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kThemeColorPickerHandlerValidationInfo[] =;

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

bool ThemeColorPickerHandlerResponseValidator::Accept(mojo::Message* message) {}
const char ThemeColorPickerClient::Name_[] =;

ThemeColorPickerClient::IPCStableHashFunction ThemeColorPickerClient::MessageToMethodInfo_(mojo::Message& message) {}


const char* ThemeColorPickerClient::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ThemeColorPickerClient::SetTheme_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

ThemeColorPickerClientProxy::ThemeColorPickerClientProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void ThemeColorPickerClientProxy::SetTheme(
    ThemePtr in_theme) {}

// static
bool ThemeColorPickerClientStubDispatch::Accept(
    ThemeColorPickerClient* impl,
    mojo::Message* message) {}

// static
bool ThemeColorPickerClientStubDispatch::AcceptWithResponder(
    ThemeColorPickerClient* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kThemeColorPickerClientValidationInfo[] =;

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



}  // theme_color_picker::mojom


namespace mojo {


// static
bool StructTraits<::theme_color_picker::mojom::Theme::DataView, ::theme_color_picker::mojom::ThemePtr>::Read(
    ::theme_color_picker::mojom::Theme::DataView input,
    ::theme_color_picker::mojom::ThemePtr* output) {}


// static
bool StructTraits<::theme_color_picker::mojom::ChromeColor::DataView, ::theme_color_picker::mojom::ChromeColorPtr>::Read(
    ::theme_color_picker::mojom::ChromeColor::DataView input,
    ::theme_color_picker::mojom::ChromeColorPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace theme_color_picker::mojom {


void ThemeColorPickerHandlerFactoryInterceptorForTesting::CreateThemeColorPickerHandler(::mojo::PendingReceiver<ThemeColorPickerHandler> handler, ::mojo::PendingRemote<ThemeColorPickerClient> client) {}
ThemeColorPickerHandlerFactoryAsyncWaiter::ThemeColorPickerHandlerFactoryAsyncWaiter(
    ThemeColorPickerHandlerFactory* proxy) :{}

ThemeColorPickerHandlerFactoryAsyncWaiter::~ThemeColorPickerHandlerFactoryAsyncWaiter() = default;




void ThemeColorPickerHandlerInterceptorForTesting::GetChromeColors(bool is_dark_mode, GetChromeColorsCallback callback) {}
void ThemeColorPickerHandlerInterceptorForTesting::UpdateTheme() {}
void ThemeColorPickerHandlerInterceptorForTesting::SetDefaultColor() {}
void ThemeColorPickerHandlerInterceptorForTesting::SetGreyDefaultColor() {}
void ThemeColorPickerHandlerInterceptorForTesting::SetSeedColor(::SkColor seed_color, ::ui::mojom::BrowserColorVariant variant) {}
void ThemeColorPickerHandlerInterceptorForTesting::SetSeedColorFromHue(float hue) {}
void ThemeColorPickerHandlerInterceptorForTesting::RemoveBackgroundImage() {}
ThemeColorPickerHandlerAsyncWaiter::ThemeColorPickerHandlerAsyncWaiter(
    ThemeColorPickerHandler* proxy) :{}

ThemeColorPickerHandlerAsyncWaiter::~ThemeColorPickerHandlerAsyncWaiter() = default;

void ThemeColorPickerHandlerAsyncWaiter::GetChromeColors(
    bool is_dark_mode, std::vector<ChromeColorPtr>* out_colors) {}

std::vector<ChromeColorPtr> ThemeColorPickerHandlerAsyncWaiter::GetChromeColors(
    bool is_dark_mode) {}




void ThemeColorPickerClientInterceptorForTesting::SetTheme(ThemePtr theme) {}
ThemeColorPickerClientAsyncWaiter::ThemeColorPickerClientAsyncWaiter(
    ThemeColorPickerClient* proxy) :{}

ThemeColorPickerClientAsyncWaiter::~ThemeColorPickerClientAsyncWaiter() = default;






}  // theme_color_picker::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif