chromium/out/Default/gen/cc/mojom/render_frame_metadata.mojom-blink.cc

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

#include "cc/mojom/render_frame_metadata.mojom-blink-import-headers.h"
#include "cc/mojom/render_frame_metadata.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace cc::mojom::blink {
DelegatedInkBrowserMetadata::DelegatedInkBrowserMetadata()
    :{}

DelegatedInkBrowserMetadata::DelegatedInkBrowserMetadata(
    bool delegated_ink_is_hovering_in)
    :{}

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

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

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

RenderFrameMetadata::RenderFrameMetadata(
    const ::SkColor4f& root_background_color_in,
    const std::optional<::gfx::PointF>& root_scroll_offset_in,
    bool is_scroll_offset_at_top_in,
    const ::viz::Selection<::gfx::SelectionBound>& selection_in,
    bool is_mobile_optimized_in,
    DelegatedInkBrowserMetadataPtr delegated_ink_metadata_in,
    float device_scale_factor_in,
    const ::gfx::Size& viewport_size_in_pixels_in,
    const std::optional<::viz::LocalSurfaceId>& local_surface_id_in,
    float page_scale_factor_in,
    float external_page_scale_factor_in,
    float top_controls_height_in,
    float top_controls_shown_ratio_in,
    ::viz::VerticalScrollDirection new_vertical_scroll_direction_in,
    int64_t primary_main_frame_item_sequence_number_in)
    :{}

RenderFrameMetadata::~RenderFrameMetadata() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t RenderFrameMetadataObserver::ReportAllFrameSubmissionsForTesting_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void RenderFrameMetadataObserverProxy::ReportAllFrameSubmissionsForTesting(
    bool in_enabled) {}

// static
bool RenderFrameMetadataObserverStubDispatch::Accept(
    RenderFrameMetadataObserver* impl,
    mojo::Message* message) {}

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

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

const char RenderFrameMetadataObserverClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t RenderFrameMetadataObserverClient::OnRenderFrameMetadataChanged_Sym::IPCStableHash() {}
uint32_t RenderFrameMetadataObserverClient::OnFrameSubmissionForTesting_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void RenderFrameMetadataObserverClientProxy::OnRenderFrameMetadataChanged(
    uint32_t in_frame_token, const ::cc::RenderFrameMetadata& in_metadata) {}

void RenderFrameMetadataObserverClientProxy::OnFrameSubmissionForTesting(
    uint32_t in_frame_token) {}

// static
bool RenderFrameMetadataObserverClientStubDispatch::Accept(
    RenderFrameMetadataObserverClient* impl,
    mojo::Message* message) {}

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

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



}  // cc::mojom::blink


namespace mojo {


// static
bool StructTraits<::cc::mojom::blink::DelegatedInkBrowserMetadata::DataView, ::cc::mojom::blink::DelegatedInkBrowserMetadataPtr>::Read(
    ::cc::mojom::blink::DelegatedInkBrowserMetadata::DataView input,
    ::cc::mojom::blink::DelegatedInkBrowserMetadataPtr* output) {}


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


void RenderFrameMetadataObserverInterceptorForTesting::ReportAllFrameSubmissionsForTesting(bool enabled) {}
RenderFrameMetadataObserverAsyncWaiter::RenderFrameMetadataObserverAsyncWaiter(
    RenderFrameMetadataObserver* proxy) :{}

RenderFrameMetadataObserverAsyncWaiter::~RenderFrameMetadataObserverAsyncWaiter() = default;




void RenderFrameMetadataObserverClientInterceptorForTesting::OnRenderFrameMetadataChanged(uint32_t frame_token, const ::cc::RenderFrameMetadata& metadata) {}
void RenderFrameMetadataObserverClientInterceptorForTesting::OnFrameSubmissionForTesting(uint32_t frame_token) {}
RenderFrameMetadataObserverClientAsyncWaiter::RenderFrameMetadataObserverClientAsyncWaiter(
    RenderFrameMetadataObserverClient* proxy) :{}

RenderFrameMetadataObserverClientAsyncWaiter::~RenderFrameMetadataObserverClientAsyncWaiter() = default;






}  // cc::mojom::blink


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