chromium/out/Default/gen/third_party/blink/public/mojom/frame/find_in_page.mojom.cc

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

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


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

FindOptions::FindOptions(
    bool forward_in,
    bool match_case_in,
    bool new_session_in,
    bool find_match_in,
    bool force_in,
    bool run_synchronously_for_testing_in)
    :{}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FindInPage::Find_Sym::IPCStableHash() {}
uint32_t FindInPage::StopFinding_Sym::IPCStableHash() {}
uint32_t FindInPage::ClearActiveFindMatch_Sym::IPCStableHash() {}
uint32_t FindInPage::SetClient_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void FindInPageProxy::Find(
    int32_t in_request_id, const std::string& in_search_text, FindOptionsPtr in_options) {}

void FindInPageProxy::StopFinding(
    StopFindAction in_action) {}

void FindInPageProxy::ClearActiveFindMatch(
    ) {}

void FindInPageProxy::SetClient(
    ::mojo::PendingRemote<FindInPageClient> in_client) {}

// static
bool FindInPageStubDispatch::Accept(
    FindInPage* impl,
    mojo::Message* message) {}

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

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

const char FindInPageClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FindInPageClient::SetNumberOfMatches_Sym::IPCStableHash() {}
uint32_t FindInPageClient::SetActiveMatch_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void FindInPageClientProxy::SetNumberOfMatches(
    int32_t in_request_id, uint32_t in_number_of_matches, FindMatchUpdateType in_update_type) {}

void FindInPageClientProxy::SetActiveMatch(
    int32_t in_request_id, const ::gfx::Rect& in_active_match_rect, int32_t in_active_match_ordinal, FindMatchUpdateType in_update_type) {}

// static
bool FindInPageClientStubDispatch::Accept(
    FindInPageClient* impl,
    mojo::Message* message) {}

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

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



}  // blink::mojom


namespace mojo {


// static
bool StructTraits<::blink::mojom::FindOptions::DataView, ::blink::mojom::FindOptionsPtr>::Read(
    ::blink::mojom::FindOptions::DataView input,
    ::blink::mojom::FindOptionsPtr* 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 FindInPageInterceptorForTesting::Find(int32_t request_id, const std::string& search_text, FindOptionsPtr options) {}
void FindInPageInterceptorForTesting::StopFinding(StopFindAction action) {}
void FindInPageInterceptorForTesting::ClearActiveFindMatch() {}
void FindInPageInterceptorForTesting::SetClient(::mojo::PendingRemote<FindInPageClient> client) {}
FindInPageAsyncWaiter::FindInPageAsyncWaiter(
    FindInPage* proxy) :{}

FindInPageAsyncWaiter::~FindInPageAsyncWaiter() = default;




void FindInPageClientInterceptorForTesting::SetNumberOfMatches(int32_t request_id, uint32_t number_of_matches, FindMatchUpdateType update_type) {}
void FindInPageClientInterceptorForTesting::SetActiveMatch(int32_t request_id, const ::gfx::Rect& active_match_rect, int32_t active_match_ordinal, FindMatchUpdateType update_type) {}
FindInPageClientAsyncWaiter::FindInPageClientAsyncWaiter(
    FindInPageClient* proxy) :{}

FindInPageClientAsyncWaiter::~FindInPageClientAsyncWaiter() = default;






}  // blink::mojom


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