chromium/out/Default/gen/services/viz/public/mojom/compositing/layer_context.mojom-blink.cc

// services/viz/public/mojom/compositing/layer_context.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 "services/viz/public/mojom/compositing/layer_context.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 "services/viz/public/mojom/compositing/layer_context.mojom-params-data.h"
#include "services/viz/public/mojom/compositing/layer_context.mojom-shared-message-ids.h"

#include "services/viz/public/mojom/compositing/layer_context.mojom-blink-import-headers.h"
#include "services/viz/public/mojom/compositing/layer_context.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
#include "services/viz/public/cpp/compositing/begin_frame_args_mojom_traits.h"


namespace viz::mojom::blink {
LayerTreeUpdate::LayerTreeUpdate()
    :{}

LayerTreeUpdate::LayerTreeUpdate(
    int32_t source_frame_number_in,
    uint64_t trace_id_in,
    const ::gfx::Rect& device_viewport_in,
    float device_scale_factor_in,
    const std::optional<::viz::LocalSurfaceId>& local_surface_id_from_parent_in,
    const ::SkColor4f& background_color_in,
    int32_t overscroll_elasticity_transform_in,
    int32_t page_scale_transform_in,
    int32_t inner_scroll_in,
    int32_t outer_clip_in,
    int32_t outer_scroll_in,
    WTF::Vector<::viz::mojom::blink::LayerPtr> layers_in,
    std::optional<WTF::Vector<int32_t>> layer_order_in,
    ::viz::mojom::blink::TransformTreeUpdatePtr transform_tree_update_in,
    WTF::Vector<::viz::mojom::blink::TransformNodePtr> transform_nodes_in,
    WTF::Vector<::viz::mojom::blink::ClipNodePtr> clip_nodes_in,
    WTF::Vector<::viz::mojom::blink::EffectNodePtr> effect_nodes_in,
    WTF::Vector<::viz::mojom::blink::ScrollNodePtr> scroll_nodes_in,
    uint32_t num_transform_nodes_in,
    uint32_t num_clip_nodes_in,
    uint32_t num_effect_nodes_in,
    uint32_t num_scroll_nodes_in,
    WTF::Vector<::viz::mojom::blink::TilingPtr> tilings_in)
    :{}

LayerTreeUpdate::~LayerTreeUpdate() = default;

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

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

PendingLayerContext::PendingLayerContext(
    ::mojo::PendingAssociatedReceiver<LayerContext> receiver_in,
    ::mojo::PendingAssociatedRemote<LayerContextClient> client_in)
    :{}

PendingLayerContext::~PendingLayerContext() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t LayerContext::SetVisible_Sym::IPCStableHash() {}
uint32_t LayerContext::UpdateDisplayTree_Sym::IPCStableHash() {}
uint32_t LayerContext::UpdateDisplayTiling_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void LayerContextProxy::SetVisible(
    bool in_visible) {}

void LayerContextProxy::UpdateDisplayTree(
    LayerTreeUpdatePtr in_update) {}

void LayerContextProxy::UpdateDisplayTiling(
    ::viz::mojom::blink::TilingPtr in_tiling) {}

// static
bool LayerContextStubDispatch::Accept(
    LayerContext* impl,
    mojo::Message* message) {}

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

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

const char LayerContextClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t LayerContextClient::OnRequestCommitForFrame_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void LayerContextClientProxy::OnRequestCommitForFrame(
    const ::viz::BeginFrameArgs& in_args) {}

// static
bool LayerContextClientStubDispatch::Accept(
    LayerContextClient* impl,
    mojo::Message* message) {}

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

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



}  // viz::mojom::blink


namespace mojo {


// static
bool StructTraits<::viz::mojom::blink::LayerTreeUpdate::DataView, ::viz::mojom::blink::LayerTreeUpdatePtr>::Read(
    ::viz::mojom::blink::LayerTreeUpdate::DataView input,
    ::viz::mojom::blink::LayerTreeUpdatePtr* output) {}


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


void LayerContextInterceptorForTesting::SetVisible(bool visible) {}
void LayerContextInterceptorForTesting::UpdateDisplayTree(LayerTreeUpdatePtr update) {}
void LayerContextInterceptorForTesting::UpdateDisplayTiling(::viz::mojom::blink::TilingPtr tiling) {}
LayerContextAsyncWaiter::LayerContextAsyncWaiter(
    LayerContext* proxy) :{}

LayerContextAsyncWaiter::~LayerContextAsyncWaiter() = default;




void LayerContextClientInterceptorForTesting::OnRequestCommitForFrame(const ::viz::BeginFrameArgs& args) {}
LayerContextClientAsyncWaiter::LayerContextClientAsyncWaiter(
    LayerContextClient* proxy) :{}

LayerContextClientAsyncWaiter::~LayerContextClientAsyncWaiter() = default;






}  // viz::mojom::blink


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