chromium/out/Default/gen/services/viz/privileged/mojom/compositing/display_private.mojom.cc

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

#include "services/viz/privileged/mojom/compositing/display_private.mojom-import-headers.h"
#include "services/viz/privileged/mojom/compositing/display_private.mojom-test-utils.h"


namespace viz::mojom {
const char DisplayPrivate::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DisplayPrivate::SetDisplayVisible_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::Resize_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetDisplayColorMatrix_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetDisplayColorSpaces_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetOutputIsSecure_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetDisplayVSyncParameters_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::ForceImmediateDrawAndSwapIfPossible_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::AddVSyncParameterObserver_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetDelegatedInkPointRenderer_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetStandaloneBeginFrameObserver_Sym::IPCStableHash() {}
uint32_t DisplayPrivate::SetMaxVSyncAndVrr_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void DisplayPrivateProxy::SetDisplayVisible(
    bool in_visible) {}

void DisplayPrivateProxy::Resize(
    const ::gfx::Size& in_size) {}

void DisplayPrivateProxy::SetDisplayColorMatrix(
    const ::gfx::Transform& in_color_matrix) {}

void DisplayPrivateProxy::SetDisplayColorSpaces(
    const ::gfx::DisplayColorSpaces& in_display_color_spaces) {}

void DisplayPrivateProxy::SetOutputIsSecure(
    bool in_secure) {}

void DisplayPrivateProxy::SetDisplayVSyncParameters(
    ::base::TimeTicks in_timebase, ::base::TimeDelta in_interval) {}

void DisplayPrivateProxy::ForceImmediateDrawAndSwapIfPossible(
    ) {}

void DisplayPrivateProxy::AddVSyncParameterObserver(
    ::mojo::PendingRemote<::viz::mojom::VSyncParameterObserver> in_observer) {}

void DisplayPrivateProxy::SetDelegatedInkPointRenderer(
    ::mojo::PendingReceiver<::gfx::mojom::DelegatedInkPointRenderer> in_receiver) {}

void DisplayPrivateProxy::SetStandaloneBeginFrameObserver(
    ::mojo::PendingRemote<::viz::mojom::BeginFrameObserver> in_observer) {}

void DisplayPrivateProxy::SetMaxVSyncAndVrr(
    std::optional<::base::TimeDelta> in_max_vsync_interval, ::display::VariableRefreshRateState in_vrr_state) {}

// static
bool DisplayPrivateStubDispatch::Accept(
    DisplayPrivate* impl,
    mojo::Message* message) {}

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

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

const char DisplayClient::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DisplayClient::DidCompleteSwapWithNewSize_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void DisplayClientProxy::DidCompleteSwapWithNewSize(
    const ::gfx::Size& in_size) {}

// static
bool DisplayClientStubDispatch::Accept(
    DisplayClient* impl,
    mojo::Message* message) {}

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

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



}  // viz::mojom


namespace mojo {

}  // 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 {


void DisplayPrivateInterceptorForTesting::SetDisplayVisible(bool visible) {}
void DisplayPrivateInterceptorForTesting::Resize(const ::gfx::Size& size) {}
void DisplayPrivateInterceptorForTesting::SetDisplayColorMatrix(const ::gfx::Transform& color_matrix) {}
void DisplayPrivateInterceptorForTesting::SetDisplayColorSpaces(const ::gfx::DisplayColorSpaces& display_color_spaces) {}
void DisplayPrivateInterceptorForTesting::SetOutputIsSecure(bool secure) {}
void DisplayPrivateInterceptorForTesting::SetDisplayVSyncParameters(::base::TimeTicks timebase, ::base::TimeDelta interval) {}
void DisplayPrivateInterceptorForTesting::ForceImmediateDrawAndSwapIfPossible() {}
void DisplayPrivateInterceptorForTesting::AddVSyncParameterObserver(::mojo::PendingRemote<::viz::mojom::VSyncParameterObserver> observer) {}
void DisplayPrivateInterceptorForTesting::SetDelegatedInkPointRenderer(::mojo::PendingReceiver<::gfx::mojom::DelegatedInkPointRenderer> receiver) {}
void DisplayPrivateInterceptorForTesting::SetStandaloneBeginFrameObserver(::mojo::PendingRemote<::viz::mojom::BeginFrameObserver> observer) {}
void DisplayPrivateInterceptorForTesting::SetMaxVSyncAndVrr(std::optional<::base::TimeDelta> max_vsync_interval, ::display::VariableRefreshRateState vrr_state) {}
DisplayPrivateAsyncWaiter::DisplayPrivateAsyncWaiter(
    DisplayPrivate* proxy) :{}

DisplayPrivateAsyncWaiter::~DisplayPrivateAsyncWaiter() = default;




void DisplayClientInterceptorForTesting::DidCompleteSwapWithNewSize(const ::gfx::Size& size) {}
DisplayClientAsyncWaiter::DisplayClientAsyncWaiter(
    DisplayClient* proxy) :{}

DisplayClientAsyncWaiter::~DisplayClientAsyncWaiter() = default;






}  // viz::mojom


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