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

// ui/webui/resources/cr_components/help_bubble/help_bubble.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/help_bubble/help_bubble.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/help_bubble/help_bubble.mojom-params-data.h"
#include "ui/webui/resources/cr_components/help_bubble/help_bubble.mojom-shared-message-ids.h"

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


namespace help_bubble::mojom {
HelpBubbleButtonParams::HelpBubbleButtonParams()
    :{}

HelpBubbleButtonParams::HelpBubbleButtonParams(
    const std::string& text_in,
    bool is_default_in)
    :{}

HelpBubbleButtonParams::~HelpBubbleButtonParams() = default;
size_t HelpBubbleButtonParams::Hash(size_t seed) const {}

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

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

Progress::Progress(
    uint8_t current_in,
    uint8_t total_in)
    :{}

Progress::~Progress() = default;
size_t Progress::Hash(size_t seed) const {}

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

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

HelpBubbleParams::HelpBubbleParams(
    const std::string& native_identifier_in,
    HelpBubbleArrowPosition position_in,
    const std::optional<std::string>& title_text_in,
    const std::string& body_text_in,
    const std::string& close_button_alt_text_in,
    const std::optional<std::string>& body_icon_name_in,
    const std::string& body_icon_alt_text_in,
    ProgressPtr progress_in,
    std::vector<HelpBubbleButtonParamsPtr> buttons_in,
    std::optional<bool> focus_on_show_hint_in,
    std::optional<::base::TimeDelta> timeout_in)
    :{}

HelpBubbleParams::~HelpBubbleParams() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t HelpBubbleHandlerFactory::CreateHelpBubbleHandler_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void HelpBubbleHandlerFactoryProxy::CreateHelpBubbleHandler(
    ::mojo::PendingRemote<HelpBubbleClient> in_client, ::mojo::PendingReceiver<HelpBubbleHandler> in_handler) {}

// static
bool HelpBubbleHandlerFactoryStubDispatch::Accept(
    HelpBubbleHandlerFactory* impl,
    mojo::Message* message) {}

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

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

const char HelpBubbleHandler::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t HelpBubbleHandler::HelpBubbleAnchorVisibilityChanged_Sym::IPCStableHash() {}
uint32_t HelpBubbleHandler::HelpBubbleAnchorActivated_Sym::IPCStableHash() {}
uint32_t HelpBubbleHandler::HelpBubbleAnchorCustomEvent_Sym::IPCStableHash() {}
uint32_t HelpBubbleHandler::HelpBubbleButtonPressed_Sym::IPCStableHash() {}
uint32_t HelpBubbleHandler::HelpBubbleClosed_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void HelpBubbleHandlerProxy::HelpBubbleAnchorVisibilityChanged(
    const std::string& in_native_identifier, bool in_visible, const ::gfx::RectF& in_rect) {}

void HelpBubbleHandlerProxy::HelpBubbleAnchorActivated(
    const std::string& in_native_identifier) {}

void HelpBubbleHandlerProxy::HelpBubbleAnchorCustomEvent(
    const std::string& in_native_identifier, const std::string& in_custom_event_name) {}

void HelpBubbleHandlerProxy::HelpBubbleButtonPressed(
    const std::string& in_native_identifier, uint8_t in_button_index) {}

void HelpBubbleHandlerProxy::HelpBubbleClosed(
    const std::string& in_native_identifier, HelpBubbleClosedReason in_reason) {}

// static
bool HelpBubbleHandlerStubDispatch::Accept(
    HelpBubbleHandler* impl,
    mojo::Message* message) {}

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

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

const char HelpBubbleClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t HelpBubbleClient::ShowHelpBubble_Sym::IPCStableHash() {}
uint32_t HelpBubbleClient::ToggleFocusForAccessibility_Sym::IPCStableHash() {}
uint32_t HelpBubbleClient::HideHelpBubble_Sym::IPCStableHash() {}
uint32_t HelpBubbleClient::ExternalHelpBubbleUpdated_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void HelpBubbleClientProxy::ShowHelpBubble(
    HelpBubbleParamsPtr in_params) {}

void HelpBubbleClientProxy::ToggleFocusForAccessibility(
    const std::string& in_native_identifier) {}

void HelpBubbleClientProxy::HideHelpBubble(
    const std::string& in_native_identifier) {}

void HelpBubbleClientProxy::ExternalHelpBubbleUpdated(
    const std::string& in_native_identifier, bool in_shown) {}

// static
bool HelpBubbleClientStubDispatch::Accept(
    HelpBubbleClient* impl,
    mojo::Message* message) {}

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

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



}  // help_bubble::mojom


namespace mojo {


// static
bool StructTraits<::help_bubble::mojom::HelpBubbleButtonParams::DataView, ::help_bubble::mojom::HelpBubbleButtonParamsPtr>::Read(
    ::help_bubble::mojom::HelpBubbleButtonParams::DataView input,
    ::help_bubble::mojom::HelpBubbleButtonParamsPtr* output) {}


// static
bool StructTraits<::help_bubble::mojom::Progress::DataView, ::help_bubble::mojom::ProgressPtr>::Read(
    ::help_bubble::mojom::Progress::DataView input,
    ::help_bubble::mojom::ProgressPtr* output) {}


// static
bool StructTraits<::help_bubble::mojom::HelpBubbleParams::DataView, ::help_bubble::mojom::HelpBubbleParamsPtr>::Read(
    ::help_bubble::mojom::HelpBubbleParams::DataView input,
    ::help_bubble::mojom::HelpBubbleParamsPtr* 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 help_bubble::mojom {


void HelpBubbleHandlerFactoryInterceptorForTesting::CreateHelpBubbleHandler(::mojo::PendingRemote<HelpBubbleClient> client, ::mojo::PendingReceiver<HelpBubbleHandler> handler) {}
HelpBubbleHandlerFactoryAsyncWaiter::HelpBubbleHandlerFactoryAsyncWaiter(
    HelpBubbleHandlerFactory* proxy) :{}

HelpBubbleHandlerFactoryAsyncWaiter::~HelpBubbleHandlerFactoryAsyncWaiter() = default;




void HelpBubbleHandlerInterceptorForTesting::HelpBubbleAnchorVisibilityChanged(const std::string& native_identifier, bool visible, const ::gfx::RectF& rect) {}
void HelpBubbleHandlerInterceptorForTesting::HelpBubbleAnchorActivated(const std::string& native_identifier) {}
void HelpBubbleHandlerInterceptorForTesting::HelpBubbleAnchorCustomEvent(const std::string& native_identifier, const std::string& custom_event_name) {}
void HelpBubbleHandlerInterceptorForTesting::HelpBubbleButtonPressed(const std::string& native_identifier, uint8_t button_index) {}
void HelpBubbleHandlerInterceptorForTesting::HelpBubbleClosed(const std::string& native_identifier, HelpBubbleClosedReason reason) {}
HelpBubbleHandlerAsyncWaiter::HelpBubbleHandlerAsyncWaiter(
    HelpBubbleHandler* proxy) :{}

HelpBubbleHandlerAsyncWaiter::~HelpBubbleHandlerAsyncWaiter() = default;




void HelpBubbleClientInterceptorForTesting::ShowHelpBubble(HelpBubbleParamsPtr params) {}
void HelpBubbleClientInterceptorForTesting::ToggleFocusForAccessibility(const std::string& native_identifier) {}
void HelpBubbleClientInterceptorForTesting::HideHelpBubble(const std::string& native_identifier) {}
void HelpBubbleClientInterceptorForTesting::ExternalHelpBubbleUpdated(const std::string& native_identifier, bool shown) {}
HelpBubbleClientAsyncWaiter::HelpBubbleClientAsyncWaiter(
    HelpBubbleClient* proxy) :{}

HelpBubbleClientAsyncWaiter::~HelpBubbleClientAsyncWaiter() = default;






}  // help_bubble::mojom


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