#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_FRAME_REMOTE_FRAME_MOJOM_BLINK_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_FRAME_REMOTE_FRAME_MOJOM_BLINK_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "third_party/blink/public/mojom/frame/remote_frame.mojom-features.h"
#include "third_party/blink/public/mojom/frame/remote_frame.mojom-shared.h"
#include "third_party/blink/public/mojom/frame/remote_frame.mojom-blink-forward.h"
#include "cc/mojom/render_frame_metadata.mojom-blink.h"
#include "cc/mojom/touch_action.mojom-blink.h"
#include "mojo/public/mojom/base/string16.mojom-blink.h"
#include "mojo/public/mojom/base/unguessable_token.mojom-blink.h"
#include "services/network/public/mojom/source_location.mojom-blink.h"
#include "services/network/public/mojom/storage_access_api.mojom-blink.h"
#include "services/network/public/mojom/url_request.mojom-blink.h"
#include "services/network/public/mojom/web_sandbox_flags.mojom-blink-forward.h"
#include "services/viz/public/mojom/compositing/frame_sink_id.mojom-blink.h"
#include "third_party/blink/public/mojom/blob/blob_url_store.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/conversions/conversions.mojom-blink.h"
#include "third_party/blink/public/mojom/frame/frame_owner_properties.mojom-blink.h"
#include "third_party/blink/public/mojom/frame/frame_policy.mojom-blink.h"
#include "third_party/blink/public/mojom/navigation/navigation_initiator_activation_and_ad_status.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/frame_replication_state.mojom-blink.h"
#include "third_party/blink/public/mojom/frame/frame_visual_properties.mojom-blink.h"
#include "third_party/blink/public/mojom/frame/fullscreen.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/intrinsic_sizing_info.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/lifecycle.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/policy_container.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/text_autosizer_page_info.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/tree_scope_type.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/triggering_event_info.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/user_activation_notification_type.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/user_activation_update_types.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/frame/viewport_intersection_state.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/input/focus_type.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/input/scroll_direction.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/loader/referrer.mojom-blink.h"
#include "third_party/blink/public/mojom/messaging/transferable_message.mojom-blink.h"
#include "third_party/blink/public/mojom/navigation/navigation_policy.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom-blink.h"
#include "third_party/blink/public/mojom/scroll/scroll_into_view_params.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/security_context/insecure_request_policy.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/timing/resource_timing.mojom-blink-forward.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-blink.h"
#include "ui/base/mojom/window_open_disposition.mojom-blink-forward.h"
#include "ui/events/mojom/scroll_granularity.mojom-blink.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-blink.h"
#include "url/mojom/origin.mojom-blink.h"
#include "url/mojom/url.mojom-blink.h"
#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"
#include "third_party/blink/renderer/core/core_export.h"
namespace blink::mojom::blink {
class NavigationStateKeepAliveHandleProxy;
template <typename ImplRefTraits>
class NavigationStateKeepAliveHandleStub;
class NavigationStateKeepAliveHandleRequestValidator;
class CORE_EXPORT NavigationStateKeepAliveHandle
: public NavigationStateKeepAliveHandleInterfaceBase { … };
class RemoteFrameHostProxy;
template <typename ImplRefTraits>
class RemoteFrameHostStub;
class RemoteFrameHostRequestValidator;
class CORE_EXPORT RemoteFrameHost
: public RemoteFrameHostInterfaceBase { … };
class RemoteFrameProxy;
template <typename ImplRefTraits>
class RemoteFrameStub;
class RemoteFrameRequestValidator;
class CORE_EXPORT RemoteFrame
: public RemoteFrameInterfaceBase { … };
class RemoteMainFrameProxy;
template <typename ImplRefTraits>
class RemoteMainFrameStub;
class RemoteMainFrameRequestValidator;
class CORE_EXPORT RemoteMainFrame
: public RemoteMainFrameInterfaceBase { … };
class RemoteMainFrameHostProxy;
template <typename ImplRefTraits>
class RemoteMainFrameHostStub;
class RemoteMainFrameHostRequestValidator;
class RemoteMainFrameHostResponseValidator;
class CORE_EXPORT RemoteMainFrameHost
: public RemoteMainFrameHostInterfaceBase { … };
class CORE_EXPORT NavigationStateKeepAliveHandleProxy
: public NavigationStateKeepAliveHandle { … };
class CORE_EXPORT RemoteFrameHostProxy
: public RemoteFrameHost { … };
class CORE_EXPORT RemoteFrameProxy
: public RemoteFrame { … };
class CORE_EXPORT RemoteMainFrameProxy
: public RemoteMainFrame { … };
class CORE_EXPORT RemoteMainFrameHostProxy
: public RemoteMainFrameHost { … };
class CORE_EXPORT NavigationStateKeepAliveHandleStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<NavigationStateKeepAliveHandle>>
class NavigationStateKeepAliveHandleStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
NavigationStateKeepAliveHandleStub() = default;
~NavigationStateKeepAliveHandleStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CORE_EXPORT RemoteFrameHostStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RemoteFrameHost>>
class RemoteFrameHostStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RemoteFrameHostStub() = default;
~RemoteFrameHostStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CORE_EXPORT RemoteFrameStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RemoteFrame>>
class RemoteFrameStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RemoteFrameStub() = default;
~RemoteFrameStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CORE_EXPORT RemoteMainFrameStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RemoteMainFrame>>
class RemoteMainFrameStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RemoteMainFrameStub() = default;
~RemoteMainFrameStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CORE_EXPORT RemoteMainFrameHostStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RemoteMainFrameHost>>
class RemoteMainFrameHostStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RemoteMainFrameHostStub() = default;
~RemoteMainFrameHostStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class CORE_EXPORT NavigationStateKeepAliveHandleRequestValidator : public mojo::MessageReceiver { … };
class CORE_EXPORT RemoteFrameHostRequestValidator : public mojo::MessageReceiver { … };
class CORE_EXPORT RemoteFrameRequestValidator : public mojo::MessageReceiver { … };
class CORE_EXPORT RemoteMainFrameRequestValidator : public mojo::MessageReceiver { … };
class CORE_EXPORT RemoteMainFrameHostRequestValidator : public mojo::MessageReceiver { … };
class CORE_EXPORT RemoteMainFrameHostResponseValidator : public mojo::MessageReceiver { … };
class CORE_EXPORT RemoteMainFrameInterfaces { … };
template <typename T, RemoteMainFrameInterfaces::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, RemoteMainFrameInterfaces::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, RemoteMainFrameInterfaces::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, RemoteMainFrameInterfaces::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CORE_EXPORT RemoteFrameInterfacesFromRenderer { … };
template <typename T, RemoteFrameInterfacesFromRenderer::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, RemoteFrameInterfacesFromRenderer::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, RemoteFrameInterfacesFromRenderer::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, RemoteFrameInterfacesFromRenderer::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CORE_EXPORT RemoteFrameInterfacesFromBrowser { … };
template <typename T, RemoteFrameInterfacesFromBrowser::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, RemoteFrameInterfacesFromBrowser::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, RemoteFrameInterfacesFromBrowser::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, RemoteFrameInterfacesFromBrowser::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CORE_EXPORT CreateRemoteChildParams { … };
template <typename T, CreateRemoteChildParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CreateRemoteChildParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CreateRemoteChildParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CreateRemoteChildParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CORE_EXPORT OpenURLParams { … };
template <typename T, OpenURLParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, OpenURLParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, OpenURLParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, OpenURLParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
RemoteMainFrameInterfacesPtr RemoteMainFrameInterfaces::Clone() const { … }
template <typename T, RemoteMainFrameInterfaces::EnableIfSame<T>*>
bool RemoteMainFrameInterfaces::Equals(const T& other_struct) const { … }
template <typename T, RemoteMainFrameInterfaces::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
RemoteFrameInterfacesFromRendererPtr RemoteFrameInterfacesFromRenderer::Clone() const { … }
template <typename T, RemoteFrameInterfacesFromRenderer::EnableIfSame<T>*>
bool RemoteFrameInterfacesFromRenderer::Equals(const T& other_struct) const { … }
template <typename T, RemoteFrameInterfacesFromRenderer::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
RemoteFrameInterfacesFromBrowserPtr RemoteFrameInterfacesFromBrowser::Clone() const { … }
template <typename T, RemoteFrameInterfacesFromBrowser::EnableIfSame<T>*>
bool RemoteFrameInterfacesFromBrowser::Equals(const T& other_struct) const { … }
template <typename T, RemoteFrameInterfacesFromBrowser::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CreateRemoteChildParamsPtr CreateRemoteChildParams::Clone() const { … }
template <typename T, CreateRemoteChildParams::EnableIfSame<T>*>
bool CreateRemoteChildParams::Equals(const T& other_struct) const { … }
template <typename T, CreateRemoteChildParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
OpenURLParamsPtr OpenURLParams::Clone() const { … }
template <typename T, OpenURLParams::EnableIfSame<T>*>
bool OpenURLParams::Equals(const T& other_struct) const { … }
template <typename T, OpenURLParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::RemoteMainFrameInterfaces::DataView,
::blink::mojom::blink::RemoteMainFrameInterfacesPtr> { … };
template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::RemoteFrameInterfacesFromRenderer::DataView,
::blink::mojom::blink::RemoteFrameInterfacesFromRendererPtr> { … };
template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::RemoteFrameInterfacesFromBrowser::DataView,
::blink::mojom::blink::RemoteFrameInterfacesFromBrowserPtr> { … };
template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::CreateRemoteChildParams::DataView,
::blink::mojom::blink::CreateRemoteChildParamsPtr> { … };
template <>
struct CORE_EXPORT StructTraits<::blink::mojom::blink::OpenURLParams::DataView,
::blink::mojom::blink::OpenURLParamsPtr> { … };
}
#endif