chromium/out/Default/gen/chrome/common/chrome_render_frame.mojom.cc

// chrome/common/chrome_render_frame.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 "chrome/common/chrome_render_frame.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 "chrome/common/chrome_render_frame.mojom-params-data.h"
#include "chrome/common/chrome_render_frame.mojom-shared-message-ids.h"

#include "chrome/common/chrome_render_frame.mojom-import-headers.h"
#include "chrome/common/chrome_render_frame.mojom-test-utils.h"


namespace chrome::mojom {
const char ChromeRenderFrame::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ChromeRenderFrame::SetWindowFeatures_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::RequestReloadImageForContextNode_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::RequestBitmapForContextNode_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::RequestBitmapForContextNodeWithBoundsHint_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::RequestBoundsHintForAllImages_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::RequestImageForContextNode_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::ExecuteWebUIJavaScript_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::GetMediaFeedURL_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::LoadBlockedPlugins_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::SetSupportsDraggableRegions_Sym::IPCStableHash() {}
uint32_t ChromeRenderFrame::SetShouldDeferMediaLoad_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class ChromeRenderFrame_RequestBitmapForContextNode_ForwardToCallback
    : public mojo::MessageReceiver {};

class ChromeRenderFrame_RequestBitmapForContextNodeWithBoundsHint_ForwardToCallback
    : public mojo::MessageReceiver {};

class ChromeRenderFrame_RequestBoundsHintForAllImages_ForwardToCallback
    : public mojo::MessageReceiver {};

class ChromeRenderFrame_RequestImageForContextNode_ForwardToCallback
    : public mojo::MessageReceiver {};

class ChromeRenderFrame_GetMediaFeedURL_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void ChromeRenderFrameProxy::SetWindowFeatures(
    ::blink::mojom::WindowFeaturesPtr in_window_features) {}

void ChromeRenderFrameProxy::RequestReloadImageForContextNode(
    ) {}

void ChromeRenderFrameProxy::RequestBitmapForContextNode(
    RequestBitmapForContextNodeCallback callback) {}

void ChromeRenderFrameProxy::RequestBitmapForContextNodeWithBoundsHint(
    RequestBitmapForContextNodeWithBoundsHintCallback callback) {}

void ChromeRenderFrameProxy::RequestBoundsHintForAllImages(
    RequestBoundsHintForAllImagesCallback callback) {}

void ChromeRenderFrameProxy::RequestImageForContextNode(
    int32_t in_image_min_area_pixels, const ::gfx::Size& in_image_max_size_pixels, ImageFormat in_image_format, int32_t in_quality, RequestImageForContextNodeCallback callback) {}

void ChromeRenderFrameProxy::ExecuteWebUIJavaScript(
    const ::std::u16string& in_javascript) {}

void ChromeRenderFrameProxy::GetMediaFeedURL(
    GetMediaFeedURLCallback callback) {}

void ChromeRenderFrameProxy::LoadBlockedPlugins(
    const std::string& in_identifier) {}

void ChromeRenderFrameProxy::SetSupportsDraggableRegions(
    bool in_supports_draggable_regions) {}

void ChromeRenderFrameProxy::SetShouldDeferMediaLoad(
    bool in_should_defer) {}
class ChromeRenderFrame_RequestBitmapForContextNode_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ChromeRenderFrame_RequestBitmapForContextNode_ProxyToResponder::Run(
    const ::SkBitmap& in_bitmap) {}
class ChromeRenderFrame_RequestBitmapForContextNodeWithBoundsHint_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ChromeRenderFrame_RequestBitmapForContextNodeWithBoundsHint_ProxyToResponder::Run(
    const ::SkBitmap& in_bitmap, const ::gfx::Rect& in_bounds) {}
class ChromeRenderFrame_RequestBoundsHintForAllImages_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ChromeRenderFrame_RequestBoundsHintForAllImages_ProxyToResponder::Run(
    const std::vector<::gfx::Rect>& in_all_bounds) {}
class ChromeRenderFrame_RequestImageForContextNode_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ChromeRenderFrame_RequestImageForContextNode_ProxyToResponder::Run(
    const std::vector<uint8_t>& in_image_data, const ::gfx::Size& in_original_size, const ::gfx::Size& in_downscaled_size, const std::string& in_encoded_extension, std::vector<::lens::mojom::LatencyLogPtr> in_log_data) {}
class ChromeRenderFrame_GetMediaFeedURL_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ChromeRenderFrame_GetMediaFeedURL_ProxyToResponder::Run(
    const std::optional<::GURL>& in_url) {}

// static
bool ChromeRenderFrameStubDispatch::Accept(
    ChromeRenderFrame* impl,
    mojo::Message* message) {}

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

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

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


}  // chrome::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 chrome::mojom {


void ChromeRenderFrameInterceptorForTesting::SetWindowFeatures(::blink::mojom::WindowFeaturesPtr window_features) {}
void ChromeRenderFrameInterceptorForTesting::RequestReloadImageForContextNode() {}
void ChromeRenderFrameInterceptorForTesting::RequestBitmapForContextNode(RequestBitmapForContextNodeCallback callback) {}
void ChromeRenderFrameInterceptorForTesting::RequestBitmapForContextNodeWithBoundsHint(RequestBitmapForContextNodeWithBoundsHintCallback callback) {}
void ChromeRenderFrameInterceptorForTesting::RequestBoundsHintForAllImages(RequestBoundsHintForAllImagesCallback callback) {}
void ChromeRenderFrameInterceptorForTesting::RequestImageForContextNode(int32_t image_min_area_pixels, const ::gfx::Size& image_max_size_pixels, ImageFormat image_format, int32_t quality, RequestImageForContextNodeCallback callback) {}
void ChromeRenderFrameInterceptorForTesting::ExecuteWebUIJavaScript(const ::std::u16string& javascript) {}
void ChromeRenderFrameInterceptorForTesting::GetMediaFeedURL(GetMediaFeedURLCallback callback) {}
void ChromeRenderFrameInterceptorForTesting::LoadBlockedPlugins(const std::string& identifier) {}
void ChromeRenderFrameInterceptorForTesting::SetSupportsDraggableRegions(bool supports_draggable_regions) {}
void ChromeRenderFrameInterceptorForTesting::SetShouldDeferMediaLoad(bool should_defer) {}
ChromeRenderFrameAsyncWaiter::ChromeRenderFrameAsyncWaiter(
    ChromeRenderFrame* proxy) :{}

ChromeRenderFrameAsyncWaiter::~ChromeRenderFrameAsyncWaiter() = default;

void ChromeRenderFrameAsyncWaiter::RequestBitmapForContextNode(
    ::SkBitmap* out_bitmap) {}

::SkBitmap ChromeRenderFrameAsyncWaiter::RequestBitmapForContextNode(
    ) {}

void ChromeRenderFrameAsyncWaiter::RequestBitmapForContextNodeWithBoundsHint(
    ::SkBitmap* out_bitmap, ::gfx::Rect* out_bounds) {}



void ChromeRenderFrameAsyncWaiter::RequestBoundsHintForAllImages(
    std::vector<::gfx::Rect>* out_all_bounds) {}

std::vector<::gfx::Rect> ChromeRenderFrameAsyncWaiter::RequestBoundsHintForAllImages(
    ) {}

void ChromeRenderFrameAsyncWaiter::RequestImageForContextNode(
    int32_t image_min_area_pixels, const ::gfx::Size& image_max_size_pixels, ImageFormat image_format, int32_t quality, std::vector<uint8_t>* out_image_data, ::gfx::Size* out_original_size, ::gfx::Size* out_downscaled_size, std::string* out_encoded_extension, std::vector<::lens::mojom::LatencyLogPtr>* out_log_data) {}



void ChromeRenderFrameAsyncWaiter::GetMediaFeedURL(
    std::optional<::GURL>* out_url) {}

std::optional<::GURL> ChromeRenderFrameAsyncWaiter::GetMediaFeedURL(
    ) {}






}  // chrome::mojom


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