chromium/out/Default/gen/third_party/blink/public/mojom/annotation/annotation.mojom.cc

// third_party/blink/public/mojom/annotation/annotation.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 "third_party/blink/public/mojom/annotation/annotation.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 "third_party/blink/public/mojom/annotation/annotation.mojom-params-data.h"
#include "third_party/blink/public/mojom/annotation/annotation.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/annotation/annotation.mojom-import-headers.h"
#include "third_party/blink/public/mojom/annotation/annotation.mojom-test-utils.h"


namespace blink::mojom {
SelectorCreationResult::SelectorCreationResult()
    :{}

SelectorCreationResult::SelectorCreationResult(
    ::mojo::PendingReceiver<AnnotationAgentHost> host_receiver_in,
    ::mojo::PendingRemote<AnnotationAgent> agent_remote_in,
    const std::string& serialized_selector_in,
    const ::std::u16string& selected_text_in)
    :{}

SelectorCreationResult::~SelectorCreationResult() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AnnotationAgent::ScrollIntoView_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void AnnotationAgentProxy::ScrollIntoView(
    ) {}

// static
bool AnnotationAgentStubDispatch::Accept(
    AnnotationAgent* impl,
    mojo::Message* message) {}

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

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

const char AnnotationAgentHost::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AnnotationAgentHost::DidFinishAttachment_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void AnnotationAgentHostProxy::DidFinishAttachment(
    const ::gfx::Rect& in_document_relative_rect) {}

// static
bool AnnotationAgentHostStubDispatch::Accept(
    AnnotationAgentHost* impl,
    mojo::Message* message) {}

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

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

const char AnnotationAgentContainer::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AnnotationAgentContainer::CreateAgent_Sym::IPCStableHash() {}
uint32_t AnnotationAgentContainer::CreateAgentFromSelection_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class AnnotationAgentContainer_CreateAgentFromSelection_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void AnnotationAgentContainerProxy::CreateAgent(
    ::mojo::PendingRemote<AnnotationAgentHost> in_host_remote, ::mojo::PendingReceiver<AnnotationAgent> in_agent_receiver, AnnotationType in_type, const std::string& in_serialized_selector) {}

void AnnotationAgentContainerProxy::CreateAgentFromSelection(
    AnnotationType in_type, CreateAgentFromSelectionCallback callback) {}
class AnnotationAgentContainer_CreateAgentFromSelection_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void AnnotationAgentContainer_CreateAgentFromSelection_ProxyToResponder::Run(
    SelectorCreationResultPtr in_result, ::shared_highlighting::LinkGenerationError in_error, ::shared_highlighting::LinkGenerationReadyStatus in_ready_status) {}

// static
bool AnnotationAgentContainerStubDispatch::Accept(
    AnnotationAgentContainer* impl,
    mojo::Message* message) {}

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

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

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


}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::SelectorCreationResult::DataView, ::blink::mojom::SelectorCreationResultPtr>::Read(
    ::blink::mojom::SelectorCreationResult::DataView input,
    ::blink::mojom::SelectorCreationResultPtr* 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 blink::mojom {


void AnnotationAgentInterceptorForTesting::ScrollIntoView() {}
AnnotationAgentAsyncWaiter::AnnotationAgentAsyncWaiter(
    AnnotationAgent* proxy) :{}

AnnotationAgentAsyncWaiter::~AnnotationAgentAsyncWaiter() = default;




void AnnotationAgentHostInterceptorForTesting::DidFinishAttachment(const ::gfx::Rect& document_relative_rect) {}
AnnotationAgentHostAsyncWaiter::AnnotationAgentHostAsyncWaiter(
    AnnotationAgentHost* proxy) :{}

AnnotationAgentHostAsyncWaiter::~AnnotationAgentHostAsyncWaiter() = default;




void AnnotationAgentContainerInterceptorForTesting::CreateAgent(::mojo::PendingRemote<AnnotationAgentHost> host_remote, ::mojo::PendingReceiver<AnnotationAgent> agent_receiver, AnnotationType type, const std::string& serialized_selector) {}
void AnnotationAgentContainerInterceptorForTesting::CreateAgentFromSelection(AnnotationType type, CreateAgentFromSelectionCallback callback) {}
AnnotationAgentContainerAsyncWaiter::AnnotationAgentContainerAsyncWaiter(
    AnnotationAgentContainer* proxy) :{}

AnnotationAgentContainerAsyncWaiter::~AnnotationAgentContainerAsyncWaiter() = default;

void AnnotationAgentContainerAsyncWaiter::CreateAgentFromSelection(
    AnnotationType type, SelectorCreationResultPtr* out_result, ::shared_highlighting::LinkGenerationError* out_error, ::shared_highlighting::LinkGenerationReadyStatus* out_ready_status) {}








}  // blink::mojom


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