#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "content/common/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 "content/common/frame.mojom-params-data.h"
#include "content/common/frame.mojom-shared-message-ids.h"
#include "content/common/frame.mojom-import-headers.h"
#include "content/common/frame.mojom-test-utils.h"
#include "content/common/content_param_traits_macros.h"
#include "content/public/common/common_param_traits.h"
#include "net/cert/cert_verify_result.h"
#include "services/network/public/cpp/p2p_param_traits.h"
#include "services/network/public/mojom/cookie_access_observer.mojom.h"
#include "services/network/public/mojom/devtools_observer.mojom.h"
#include "services/network/public/mojom/trust_token_access_observer.mojom.h"
#include "third_party/blink/common/permissions_policy/permissions_policy_mojom_traits.h"
#include "third_party/blink/public/common/frame/view_transition_state_mojom_traits.h"
#include "third_party/blink/public/common/messaging/task_attribution_id_mojom_traits.h"
#include "third_party/blink/public/common/page/browsing_context_group_info_mojom_traits.h"
namespace content::mojom {
CreateViewParams::CreateViewParams()
: … { … }
CreateViewParams::CreateViewParams(
const ::blink::RendererPreferences& renderer_preferences_in,
const ::blink::web_pref::WebPreferences& web_preferences_in,
const std::string& session_storage_namespace_id_in,
const std::optional<::blink::FrameToken>& opener_frame_token_in,
::blink::mojom::FrameReplicationStatePtr replication_state_in,
const ::base::UnguessableToken& devtools_main_frame_token_in,
CreateMainFrameUnionPtr main_frame_in,
bool hidden_in,
::blink::mojom::PrerenderParamPtr prerender_param_in,
bool never_composited_in,
bool window_was_opened_by_another_window_in,
ViewWidgetType type_in,
::blink::FencedFrame::DeprecatedFencedFrameMode fenced_frame_mode_in,
const std::optional<::url::Origin>& outermost_origin_in,
::mojo::PendingAssociatedReceiver<::blink::mojom::PageBroadcast> blink_page_broadcast_in,
std::optional<::SkColor> base_background_color_in,
const ::blink::ColorProviderColorMaps& color_provider_colors_in,
const ::blink::BrowsingContextGroupInfo& browsing_context_group_info_in,
::network::mojom::AttributionSupport attribution_support_in,
::blink::mojom::PartitionedPopinParamsPtr partitioned_popin_params_in)
: … { … }
CreateViewParams::~CreateViewParams() = default;
void CreateViewParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateViewParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateLocalMainFrameParams::CreateLocalMainFrameParams()
: … { … }
CreateLocalMainFrameParams::CreateLocalMainFrameParams(
const ::blink::LocalFrameToken& frame_token_in,
int32_t routing_id_in,
::mojo::PendingAssociatedReceiver<Frame> frame_in,
::mojo::PendingRemote<::blink::mojom::BrowserInterfaceBroker> interface_broker_in,
::mojo::PendingAssociatedRemote<::blink::mojom::AssociatedInterfaceProvider> associated_interface_provider_remote_in,
bool is_on_initial_empty_document_in,
const ::blink::DocumentToken& document_token_in,
::blink::mojom::PolicyContainerPtr policy_container_in,
CreateFrameWidgetParamsPtr widget_params_in,
::std::unique_ptr<::blink::PendingURLLoaderFactoryBundle> subresource_loader_factories_in,
const std::optional<::blink::FrameToken>& previous_frame_token_in)
: … { … }
CreateLocalMainFrameParams::~CreateLocalMainFrameParams() = default;
void CreateLocalMainFrameParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateLocalMainFrameParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateRemoteMainFrameParams::CreateRemoteMainFrameParams()
: … { … }
CreateRemoteMainFrameParams::CreateRemoteMainFrameParams(
const ::blink::RemoteFrameToken& token_in,
::blink::mojom::RemoteFrameInterfacesFromBrowserPtr frame_interfaces_in,
::blink::mojom::RemoteMainFrameInterfacesPtr main_frame_interfaces_in)
: … { … }
CreateRemoteMainFrameParams::~CreateRemoteMainFrameParams() = default;
void CreateRemoteMainFrameParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateRemoteMainFrameParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateFrameWidgetParams::CreateFrameWidgetParams()
: … { … }
CreateFrameWidgetParams::CreateFrameWidgetParams(
int32_t routing_id_in,
::mojo::PendingAssociatedRemote<::blink::mojom::FrameWidgetHost> frame_widget_host_in,
::mojo::PendingAssociatedReceiver<::blink::mojom::FrameWidget> frame_widget_in,
::mojo::PendingAssociatedRemote<::blink::mojom::WidgetHost> widget_host_in,
::mojo::PendingAssociatedReceiver<::blink::mojom::Widget> widget_in,
const ::blink::VisualProperties& visual_properties_in,
const std::optional<::blink::FrameToken>& previous_frame_token_for_compositor_reuse_in)
: … { … }
CreateFrameWidgetParams::~CreateFrameWidgetParams() = default;
void CreateFrameWidgetParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateFrameWidgetParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateFrameParams::CreateFrameParams()
: … { … }
CreateFrameParams::CreateFrameParams(
const ::blink::LocalFrameToken& frame_token_in,
int32_t routing_id_in,
const std::optional<::blink::FrameToken>& previous_frame_token_in,
const std::optional<::blink::FrameToken>& opener_frame_token_in,
const std::optional<::blink::FrameToken>& parent_frame_token_in,
const std::optional<::blink::FrameToken>& previous_sibling_frame_token_in,
::mojo::PendingRemote<::blink::mojom::BrowserInterfaceBroker> interface_broker_in,
::blink::mojom::TreeScopeType tree_scope_type_in,
::blink::mojom::FrameReplicationStatePtr replication_state_in,
const ::base::UnguessableToken& devtools_frame_token_in,
::blink::mojom::FrameOwnerPropertiesPtr frame_owner_properties_in,
CreateFrameWidgetParamsPtr widget_params_in,
bool is_on_initial_empty_document_in,
const ::blink::DocumentToken& document_token_in,
::blink::mojom::PolicyContainerPtr policy_container_in,
::mojo::PendingAssociatedReceiver<Frame> frame_in,
::mojo::PendingAssociatedRemote<::blink::mojom::AssociatedInterfaceProvider> associated_interface_provider_remote_in,
bool is_for_nested_main_frame_in)
: … { … }
CreateFrameParams::~CreateFrameParams() = default;
void CreateFrameParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateFrameParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SnapshotAccessibilityTreeParams::SnapshotAccessibilityTreeParams()
: … { … }
SnapshotAccessibilityTreeParams::SnapshotAccessibilityTreeParams(
uint32_t ax_mode_in,
uint64_t max_nodes_in,
::base::TimeDelta timeout_in)
: … { … }
SnapshotAccessibilityTreeParams::~SnapshotAccessibilityTreeParams() = default;
void SnapshotAccessibilityTreeParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool SnapshotAccessibilityTreeParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateNewWindowParams::CreateNewWindowParams()
: … { … }
CreateNewWindowParams::CreateNewWindowParams(
bool allow_popup_in,
::content::mojom::WindowContainerType window_container_type_in,
const std::string& session_storage_namespace_id_in,
const std::string& clone_from_session_storage_namespace_id_in,
const std::string& frame_name_in,
bool opener_suppressed_in,
bool is_form_submission_in,
::scoped_refptr<::network::ResourceRequestBody> form_submission_post_data_in,
const std::string& form_submission_post_content_type_in,
::WindowOpenDisposition disposition_in,
const ::GURL& target_url_in,
::blink::mojom::ReferrerPtr referrer_in,
::blink::mojom::WindowFeaturesPtr features_in,
const std::optional<::blink::Impression>& impression_in,
const ::blink::NavigationDownloadPolicy& download_policy_in,
::blink::mojom::PictureInPictureWindowOptionsPtr pip_options_in,
::blink::mojom::NavigationInitiatorActivationAndAdStatus initiator_activation_and_ad_status_in)
: … { … }
CreateNewWindowParams::~CreateNewWindowParams() = default;
void CreateNewWindowParams::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateNewWindowParams::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateNewWindowReply::CreateNewWindowReply()
: … { … }
CreateNewWindowReply::CreateNewWindowReply(
const ::blink::LocalFrameToken& main_frame_token_in,
int32_t main_frame_route_id_in,
::mojo::PendingAssociatedReceiver<Frame> frame_in,
CreateFrameWidgetParamsPtr widget_params_in,
::mojo::PendingAssociatedReceiver<::blink::mojom::PageBroadcast> page_broadcast_in,
::mojo::PendingRemote<::blink::mojom::BrowserInterfaceBroker> main_frame_interface_broker_in,
::mojo::PendingAssociatedRemote<::blink::mojom::AssociatedInterfaceProvider> associated_interface_provider_in,
const std::string& cloned_session_storage_namespace_id_in,
const ::base::UnguessableToken& devtools_main_frame_token_in,
bool wait_for_debugger_in,
const ::blink::DocumentToken& document_token_in,
::blink::mojom::PolicyContainerPtr policy_container_in,
const ::blink::BrowsingContextGroupInfo& browsing_context_group_info_in,
const ::blink::ColorProviderColorMaps& color_provider_colors_in,
::blink::mojom::PartitionedPopinParamsPtr partitioned_popin_params_in)
: … { … }
CreateNewWindowReply::~CreateNewWindowReply() = default;
void CreateNewWindowReply::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool CreateNewWindowReply::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CreateMainFrameUnion::CreateMainFrameUnion() : … { … }
CreateMainFrameUnion::~CreateMainFrameUnion() { … }
void CreateMainFrameUnion::set_local_params(
CreateLocalMainFrameParamsPtr local_params) { … }
void CreateMainFrameUnion::set_remote_params(
CreateRemoteMainFrameParamsPtr remote_params) { … }
void CreateMainFrameUnion::DestroyActive() { … }
bool CreateMainFrameUnion::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char FrameHTMLSerializerHandler::Name_[] = …;
FrameHTMLSerializerHandler::IPCStableHashFunction FrameHTMLSerializerHandler::MessageToMethodInfo_(mojo::Message& message) { … }
const char* FrameHTMLSerializerHandler::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FrameHTMLSerializerHandler::DidReceiveData_Sym::IPCStableHash() { … }
uint32_t FrameHTMLSerializerHandler::Done_Sym::IPCStableHash() { … }
# endif
FrameHTMLSerializerHandlerProxy::FrameHTMLSerializerHandlerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void FrameHTMLSerializerHandlerProxy::DidReceiveData(
const std::string& in_data_buffer) { … }
void FrameHTMLSerializerHandlerProxy::Done(
) { … }
bool FrameHTMLSerializerHandlerStubDispatch::Accept(
FrameHTMLSerializerHandler* impl,
mojo::Message* message) { … }
bool FrameHTMLSerializerHandlerStubDispatch::AcceptWithResponder(
FrameHTMLSerializerHandler* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kFrameHTMLSerializerHandlerValidationInfo[] = …;
bool FrameHTMLSerializerHandlerRequestValidator::Accept(mojo::Message* message) { … }
const char Frame::Name_[] = …;
Frame::IPCStableHashFunction Frame::MessageToMethodInfo_(mojo::Message& message) { … }
const char* Frame::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Frame::CommitSameDocumentNavigation_Sym::IPCStableHash() { … }
uint32_t Frame::UpdateSubresourceLoaderFactories_Sym::IPCStableHash() { … }
uint32_t Frame::SetWantErrorMessageStackTrace_Sym::IPCStableHash() { … }
uint32_t Frame::Unload_Sym::IPCStableHash() { … }
uint32_t Frame::Delete_Sym::IPCStableHash() { … }
uint32_t Frame::UndoCommitNavigation_Sym::IPCStableHash() { … }
uint32_t Frame::GetInterfaceProvider_Sym::IPCStableHash() { … }
uint32_t Frame::SnapshotAccessibilityTree_Sym::IPCStableHash() { … }
uint32_t Frame::GetSerializedHtmlWithLocalLinks_Sym::IPCStableHash() { … }
# endif
class Frame_CommitSameDocumentNavigation_ForwardToCallback
: public mojo::MessageReceiver { … };
class Frame_SnapshotAccessibilityTree_ForwardToCallback
: public mojo::MessageReceiver { … };
FrameProxy::FrameProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void FrameProxy::CommitSameDocumentNavigation(
::blink::mojom::CommonNavigationParamsPtr in_common_params, ::blink::mojom::CommitNavigationParamsPtr in_request_params, CommitSameDocumentNavigationCallback callback) { … }
void FrameProxy::UpdateSubresourceLoaderFactories(
::std::unique_ptr<::blink::PendingURLLoaderFactoryBundle> in_subresource_loader_factories) { … }
void FrameProxy::SetWantErrorMessageStackTrace(
) { … }
void FrameProxy::Unload(
bool in_is_loading, ::blink::mojom::FrameReplicationStatePtr in_new_remote_frame_replication_state, const ::blink::RemoteFrameToken& in_new_remote_frame_token, ::blink::mojom::RemoteFrameInterfacesFromBrowserPtr in_new_remote_frame_interfaces, ::blink::mojom::RemoteMainFrameInterfacesPtr in_new_remote_main_frame_interfaces) { … }
void FrameProxy::Delete(
FrameDeleteIntention in_intention) { … }
void FrameProxy::UndoCommitNavigation(
bool in_is_loading, ::blink::mojom::FrameReplicationStatePtr in_new_remote_frame_replication_state, const ::blink::RemoteFrameToken& in_new_remote_frame_token, ::blink::mojom::RemoteFrameInterfacesFromBrowserPtr in_new_remote_frame_interfaces, ::blink::mojom::RemoteMainFrameInterfacesPtr in_new_remote_main_frame_interfaces) { … }
void FrameProxy::GetInterfaceProvider(
::mojo::PendingReceiver<::service_manager::mojom::InterfaceProvider> in_interfaces) { … }
void FrameProxy::SnapshotAccessibilityTree(
SnapshotAccessibilityTreeParamsPtr in_params, SnapshotAccessibilityTreeCallback callback) { … }
void FrameProxy::GetSerializedHtmlWithLocalLinks(
const base::flat_map<::GURL, ::base::FilePath>& in_url_map, const base::flat_map<::blink::FrameToken, ::base::FilePath>& in_frame_token_map, bool in_save_with_empty_url, ::mojo::PendingRemote<FrameHTMLSerializerHandler> in_handler_remote) { … }
class Frame_CommitSameDocumentNavigation_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool Frame_CommitSameDocumentNavigation_ForwardToCallback::Accept(
mojo::Message* message) { … }
void Frame_CommitSameDocumentNavigation_ProxyToResponder::Run(
::blink::mojom::CommitResult in_commit_result) { … }
class Frame_SnapshotAccessibilityTree_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool Frame_SnapshotAccessibilityTree_ForwardToCallback::Accept(
mojo::Message* message) { … }
void Frame_SnapshotAccessibilityTree_ProxyToResponder::Run(
const ::ui::AXTreeUpdate& in_snapshot) { … }
bool FrameStubDispatch::Accept(
Frame* impl,
mojo::Message* message) { … }
bool FrameStubDispatch::AcceptWithResponder(
Frame* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kFrameValidationInfo[] = …;
bool FrameRequestValidator::Accept(mojo::Message* message) { … }
bool FrameResponseValidator::Accept(mojo::Message* message) { … }
const char FrameBindingsControl::Name_[] = …;
FrameBindingsControl::IPCStableHashFunction FrameBindingsControl::MessageToMethodInfo_(mojo::Message& message) { … }
const char* FrameBindingsControl::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FrameBindingsControl::AllowBindings_Sym::IPCStableHash() { … }
uint32_t FrameBindingsControl::EnableMojoJsBindings_Sym::IPCStableHash() { … }
uint32_t FrameBindingsControl::EnableMojoJsBindingsWithBroker_Sym::IPCStableHash() { … }
uint32_t FrameBindingsControl::BindWebUI_Sym::IPCStableHash() { … }
# endif
FrameBindingsControlProxy::FrameBindingsControlProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void FrameBindingsControlProxy::AllowBindings(
int64_t in_enabled_bindings_flags) { … }
void FrameBindingsControlProxy::EnableMojoJsBindings(
::content::mojom::ExtraMojoJsFeaturesPtr in_features) { … }
void FrameBindingsControlProxy::EnableMojoJsBindingsWithBroker(
::mojo::PendingRemote<::blink::mojom::BrowserInterfaceBroker> in_broker) { … }
void FrameBindingsControlProxy::BindWebUI(
::mojo::PendingAssociatedReceiver<::content::mojom::WebUI> in_receiver, ::mojo::PendingAssociatedRemote<::content::mojom::WebUIHost> in_remote) { … }
bool FrameBindingsControlStubDispatch::Accept(
FrameBindingsControl* impl,
mojo::Message* message) { … }
bool FrameBindingsControlStubDispatch::AcceptWithResponder(
FrameBindingsControl* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kFrameBindingsControlValidationInfo[] = …;
bool FrameBindingsControlRequestValidator::Accept(mojo::Message* message) { … }
const char NavigationRendererCancellationListener::Name_[] = …;
NavigationRendererCancellationListener::IPCStableHashFunction NavigationRendererCancellationListener::MessageToMethodInfo_(mojo::Message& message) { … }
const char* NavigationRendererCancellationListener::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t NavigationRendererCancellationListener::RendererCancellationWindowEnded_Sym::IPCStableHash() { … }
# endif
NavigationRendererCancellationListenerProxy::NavigationRendererCancellationListenerProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void NavigationRendererCancellationListenerProxy::RendererCancellationWindowEnded(
) { … }
bool NavigationRendererCancellationListenerStubDispatch::Accept(
NavigationRendererCancellationListener* impl,
mojo::Message* message) { … }
bool NavigationRendererCancellationListenerStubDispatch::AcceptWithResponder(
NavigationRendererCancellationListener* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kNavigationRendererCancellationListenerValidationInfo[] = …;
bool NavigationRendererCancellationListenerRequestValidator::Accept(mojo::Message* message) { … }
const char FrameHost::Name_[] = …;
FrameHost::IPCStableHashFunction FrameHost::MessageToMethodInfo_(mojo::Message& message) { … }
const char* FrameHost::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FrameHost::CreateNewWindow_Sym::IPCStableHash() { … }
uint32_t FrameHost::CreateChildFrame_Sym::IPCStableHash() { … }
uint32_t FrameHost::DidCommitProvisionalLoad_Sym::IPCStableHash() { … }
uint32_t FrameHost::DidCommitSameDocumentNavigation_Sym::IPCStableHash() { … }
uint32_t FrameHost::DidOpenDocumentInputStream_Sym::IPCStableHash() { … }
uint32_t FrameHost::BeginNavigation_Sym::IPCStableHash() { … }
uint32_t FrameHost::SubresourceResponseStarted_Sym::IPCStableHash() { … }
uint32_t FrameHost::ResourceLoadComplete_Sym::IPCStableHash() { … }
uint32_t FrameHost::DidChangeName_Sym::IPCStableHash() { … }
uint32_t FrameHost::CancelInitialHistoryLoad_Sym::IPCStableHash() { … }
uint32_t FrameHost::UpdateEncoding_Sym::IPCStableHash() { … }
uint32_t FrameHost::UpdateState_Sym::IPCStableHash() { … }
uint32_t FrameHost::OpenURL_Sym::IPCStableHash() { … }
uint32_t FrameHost::DidStopLoading_Sym::IPCStableHash() { … }
# endif
bool FrameHost::CreateNewWindow(CreateNewWindowParamsPtr params, CreateNewWindowStatus* out_status, CreateNewWindowReplyPtr* out_reply) { … }
class FrameHost_CreateNewWindow_HandleSyncResponse
: public mojo::MessageReceiver { … };
class FrameHost_CreateNewWindow_ForwardToCallback
: public mojo::MessageReceiver { … };
FrameHostProxy::FrameHostProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
bool FrameHostProxy::CreateNewWindow(
CreateNewWindowParamsPtr param_params, CreateNewWindowStatus* out_param_status, CreateNewWindowReplyPtr* out_param_reply) { … }
void FrameHostProxy::CreateNewWindow(
CreateNewWindowParamsPtr in_params, CreateNewWindowCallback callback) { … }
void FrameHostProxy::CreateChildFrame(
const ::blink::LocalFrameToken& in_child_frame_token, ::mojo::PendingAssociatedRemote<Frame> in_frame, ::mojo::PendingReceiver<::blink::mojom::BrowserInterfaceBroker> in_browser_interface_broker, ::blink::mojom::PolicyContainerBindParamsPtr in_policy_container_bind_params, ::mojo::PendingAssociatedReceiver<::blink::mojom::AssociatedInterfaceProvider> in_associated_interface_provider, ::blink::mojom::TreeScopeType in_scope, const std::string& in_frame_name, const std::string& in_frame_unique_name, bool in_is_created_by_script, const ::blink::FramePolicy& in_frame_policy, ::blink::mojom::FrameOwnerPropertiesPtr in_frame_owner_properties, ::blink::FrameOwnerElementType in_child_frame_owner_element_type, int64_t in_document_ukm_source_id) { … }
void FrameHostProxy::DidCommitProvisionalLoad(
::content::mojom::DidCommitProvisionalLoadParamsPtr in_params, ::content::mojom::DidCommitProvisionalLoadInterfaceParamsPtr in_interface_params) { … }
void FrameHostProxy::DidCommitSameDocumentNavigation(
::content::mojom::DidCommitProvisionalLoadParamsPtr in_params, ::content::mojom::DidCommitSameDocumentNavigationParamsPtr in_same_document_params) { … }
void FrameHostProxy::DidOpenDocumentInputStream(
const ::GURL& in_url) { … }
void FrameHostProxy::BeginNavigation(
::blink::mojom::CommonNavigationParamsPtr in_common_params, ::blink::mojom::BeginNavigationParamsPtr in_begin_params, ::mojo::PendingRemote<::blink::mojom::BlobURLToken> in_blob_url_token, ::mojo::PendingAssociatedRemote<::content::mojom::NavigationClient> in_navigation_client, ::mojo::PendingRemote<::blink::mojom::NavigationStateKeepAliveHandle> in_initiator_navigation_state_keep_alive_handle, ::mojo::PendingReceiver<NavigationRendererCancellationListener> in_renderer_cancellation_listener) { … }
void FrameHostProxy::SubresourceResponseStarted(
const ::url::SchemeHostPort& in_final_response_url, uint32_t in_cert_status) { … }
void FrameHostProxy::ResourceLoadComplete(
::blink::mojom::ResourceLoadInfoPtr in_url_load_info) { … }
void FrameHostProxy::DidChangeName(
const std::string& in_name, const std::string& in_unique_name) { … }
void FrameHostProxy::CancelInitialHistoryLoad(
) { … }
void FrameHostProxy::UpdateEncoding(
const std::string& in_encoding_name) { … }
void FrameHostProxy::UpdateState(
const ::blink::PageState& in_state) { … }
void FrameHostProxy::OpenURL(
::blink::mojom::OpenURLParamsPtr in_params) { … }
void FrameHostProxy::DidStopLoading(
) { … }
class FrameHost_CreateNewWindow_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool FrameHost_CreateNewWindow_ForwardToCallback::Accept(
mojo::Message* message) { … }
void FrameHost_CreateNewWindow_ProxyToResponder::Run(
CreateNewWindowStatus in_status, CreateNewWindowReplyPtr in_reply) { … }
bool FrameHost_CreateNewWindow_HandleSyncResponse::Accept(
mojo::Message* message) { … }
bool FrameHostStubDispatch::Accept(
FrameHost* impl,
mojo::Message* message) { … }
bool FrameHostStubDispatch::AcceptWithResponder(
FrameHost* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kFrameHostValidationInfo[] = …;
bool FrameHostRequestValidator::Accept(mojo::Message* message) { … }
bool FrameHostResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::content::mojom::CreateViewParams::DataView, ::content::mojom::CreateViewParamsPtr>::Read(
::content::mojom::CreateViewParams::DataView input,
::content::mojom::CreateViewParamsPtr* output) { … }
bool StructTraits<::content::mojom::CreateLocalMainFrameParams::DataView, ::content::mojom::CreateLocalMainFrameParamsPtr>::Read(
::content::mojom::CreateLocalMainFrameParams::DataView input,
::content::mojom::CreateLocalMainFrameParamsPtr* output) { … }
bool StructTraits<::content::mojom::CreateRemoteMainFrameParams::DataView, ::content::mojom::CreateRemoteMainFrameParamsPtr>::Read(
::content::mojom::CreateRemoteMainFrameParams::DataView input,
::content::mojom::CreateRemoteMainFrameParamsPtr* output) { … }
bool StructTraits<::content::mojom::CreateFrameWidgetParams::DataView, ::content::mojom::CreateFrameWidgetParamsPtr>::Read(
::content::mojom::CreateFrameWidgetParams::DataView input,
::content::mojom::CreateFrameWidgetParamsPtr* output) { … }
bool StructTraits<::content::mojom::CreateFrameParams::DataView, ::content::mojom::CreateFrameParamsPtr>::Read(
::content::mojom::CreateFrameParams::DataView input,
::content::mojom::CreateFrameParamsPtr* output) { … }
bool StructTraits<::content::mojom::SnapshotAccessibilityTreeParams::DataView, ::content::mojom::SnapshotAccessibilityTreeParamsPtr>::Read(
::content::mojom::SnapshotAccessibilityTreeParams::DataView input,
::content::mojom::SnapshotAccessibilityTreeParamsPtr* output) { … }
bool StructTraits<::content::mojom::CreateNewWindowParams::DataView, ::content::mojom::CreateNewWindowParamsPtr>::Read(
::content::mojom::CreateNewWindowParams::DataView input,
::content::mojom::CreateNewWindowParamsPtr* output) { … }
bool StructTraits<::content::mojom::CreateNewWindowReply::DataView, ::content::mojom::CreateNewWindowReplyPtr>::Read(
::content::mojom::CreateNewWindowReply::DataView input,
::content::mojom::CreateNewWindowReplyPtr* output) { … }
bool UnionTraits<::content::mojom::CreateMainFrameUnion::DataView, ::content::mojom::CreateMainFrameUnionPtr>::Read(
::content::mojom::CreateMainFrameUnion::DataView input,
::content::mojom::CreateMainFrameUnionPtr* output) { … }
}
namespace content::mojom {
void FrameHTMLSerializerHandlerInterceptorForTesting::DidReceiveData(const std::string& data_buffer) { … }
void FrameHTMLSerializerHandlerInterceptorForTesting::Done() { … }
FrameHTMLSerializerHandlerAsyncWaiter::FrameHTMLSerializerHandlerAsyncWaiter(
FrameHTMLSerializerHandler* proxy) : … { … }
FrameHTMLSerializerHandlerAsyncWaiter::~FrameHTMLSerializerHandlerAsyncWaiter() = default;
void FrameInterceptorForTesting::CommitSameDocumentNavigation(::blink::mojom::CommonNavigationParamsPtr common_params, ::blink::mojom::CommitNavigationParamsPtr request_params, CommitSameDocumentNavigationCallback callback) { … }
void FrameInterceptorForTesting::UpdateSubresourceLoaderFactories(::std::unique_ptr<::blink::PendingURLLoaderFactoryBundle> subresource_loader_factories) { … }
void FrameInterceptorForTesting::SetWantErrorMessageStackTrace() { … }
void FrameInterceptorForTesting::Unload(bool is_loading, ::blink::mojom::FrameReplicationStatePtr new_remote_frame_replication_state, const ::blink::RemoteFrameToken& new_remote_frame_token, ::blink::mojom::RemoteFrameInterfacesFromBrowserPtr new_remote_frame_interfaces, ::blink::mojom::RemoteMainFrameInterfacesPtr new_remote_main_frame_interfaces) { … }
void FrameInterceptorForTesting::Delete(FrameDeleteIntention intention) { … }
void FrameInterceptorForTesting::UndoCommitNavigation(bool is_loading, ::blink::mojom::FrameReplicationStatePtr new_remote_frame_replication_state, const ::blink::RemoteFrameToken& new_remote_frame_token, ::blink::mojom::RemoteFrameInterfacesFromBrowserPtr new_remote_frame_interfaces, ::blink::mojom::RemoteMainFrameInterfacesPtr new_remote_main_frame_interfaces) { … }
void FrameInterceptorForTesting::GetInterfaceProvider(::mojo::PendingReceiver<::service_manager::mojom::InterfaceProvider> interfaces) { … }
void FrameInterceptorForTesting::SnapshotAccessibilityTree(SnapshotAccessibilityTreeParamsPtr params, SnapshotAccessibilityTreeCallback callback) { … }
void FrameInterceptorForTesting::GetSerializedHtmlWithLocalLinks(const base::flat_map<::GURL, ::base::FilePath>& url_map, const base::flat_map<::blink::FrameToken, ::base::FilePath>& frame_token_map, bool save_with_empty_url, ::mojo::PendingRemote<FrameHTMLSerializerHandler> handler_remote) { … }
FrameAsyncWaiter::FrameAsyncWaiter(
Frame* proxy) : … { … }
FrameAsyncWaiter::~FrameAsyncWaiter() = default;
void FrameAsyncWaiter::CommitSameDocumentNavigation(
::blink::mojom::CommonNavigationParamsPtr common_params, ::blink::mojom::CommitNavigationParamsPtr request_params, ::blink::mojom::CommitResult* out_commit_result) { … }
::blink::mojom::CommitResult FrameAsyncWaiter::CommitSameDocumentNavigation(
::blink::mojom::CommonNavigationParamsPtr common_params, ::blink::mojom::CommitNavigationParamsPtr request_params) { … }
void FrameAsyncWaiter::SnapshotAccessibilityTree(
SnapshotAccessibilityTreeParamsPtr params, ::ui::AXTreeUpdate* out_snapshot) { … }
::ui::AXTreeUpdate FrameAsyncWaiter::SnapshotAccessibilityTree(
SnapshotAccessibilityTreeParamsPtr params) { … }
void FrameBindingsControlInterceptorForTesting::AllowBindings(int64_t enabled_bindings_flags) { … }
void FrameBindingsControlInterceptorForTesting::EnableMojoJsBindings(::content::mojom::ExtraMojoJsFeaturesPtr features) { … }
void FrameBindingsControlInterceptorForTesting::EnableMojoJsBindingsWithBroker(::mojo::PendingRemote<::blink::mojom::BrowserInterfaceBroker> broker) { … }
void FrameBindingsControlInterceptorForTesting::BindWebUI(::mojo::PendingAssociatedReceiver<::content::mojom::WebUI> receiver, ::mojo::PendingAssociatedRemote<::content::mojom::WebUIHost> remote) { … }
FrameBindingsControlAsyncWaiter::FrameBindingsControlAsyncWaiter(
FrameBindingsControl* proxy) : … { … }
FrameBindingsControlAsyncWaiter::~FrameBindingsControlAsyncWaiter() = default;
void NavigationRendererCancellationListenerInterceptorForTesting::RendererCancellationWindowEnded() { … }
NavigationRendererCancellationListenerAsyncWaiter::NavigationRendererCancellationListenerAsyncWaiter(
NavigationRendererCancellationListener* proxy) : … { … }
NavigationRendererCancellationListenerAsyncWaiter::~NavigationRendererCancellationListenerAsyncWaiter() = default;
void FrameHostInterceptorForTesting::CreateNewWindow(CreateNewWindowParamsPtr params, CreateNewWindowCallback callback) { … }
void FrameHostInterceptorForTesting::CreateChildFrame(const ::blink::LocalFrameToken& child_frame_token, ::mojo::PendingAssociatedRemote<Frame> frame, ::mojo::PendingReceiver<::blink::mojom::BrowserInterfaceBroker> browser_interface_broker, ::blink::mojom::PolicyContainerBindParamsPtr policy_container_bind_params, ::mojo::PendingAssociatedReceiver<::blink::mojom::AssociatedInterfaceProvider> associated_interface_provider, ::blink::mojom::TreeScopeType scope, const std::string& frame_name, const std::string& frame_unique_name, bool is_created_by_script, const ::blink::FramePolicy& frame_policy, ::blink::mojom::FrameOwnerPropertiesPtr frame_owner_properties, ::blink::FrameOwnerElementType child_frame_owner_element_type, int64_t document_ukm_source_id) { … }
void FrameHostInterceptorForTesting::DidCommitProvisionalLoad(::content::mojom::DidCommitProvisionalLoadParamsPtr params, ::content::mojom::DidCommitProvisionalLoadInterfaceParamsPtr interface_params) { … }
void FrameHostInterceptorForTesting::DidCommitSameDocumentNavigation(::content::mojom::DidCommitProvisionalLoadParamsPtr params, ::content::mojom::DidCommitSameDocumentNavigationParamsPtr same_document_params) { … }
void FrameHostInterceptorForTesting::DidOpenDocumentInputStream(const ::GURL& url) { … }
void FrameHostInterceptorForTesting::BeginNavigation(::blink::mojom::CommonNavigationParamsPtr common_params, ::blink::mojom::BeginNavigationParamsPtr begin_params, ::mojo::PendingRemote<::blink::mojom::BlobURLToken> blob_url_token, ::mojo::PendingAssociatedRemote<::content::mojom::NavigationClient> navigation_client, ::mojo::PendingRemote<::blink::mojom::NavigationStateKeepAliveHandle> initiator_navigation_state_keep_alive_handle, ::mojo::PendingReceiver<NavigationRendererCancellationListener> renderer_cancellation_listener) { … }
void FrameHostInterceptorForTesting::SubresourceResponseStarted(const ::url::SchemeHostPort& final_response_url, uint32_t cert_status) { … }
void FrameHostInterceptorForTesting::ResourceLoadComplete(::blink::mojom::ResourceLoadInfoPtr url_load_info) { … }
void FrameHostInterceptorForTesting::DidChangeName(const std::string& name, const std::string& unique_name) { … }
void FrameHostInterceptorForTesting::CancelInitialHistoryLoad() { … }
void FrameHostInterceptorForTesting::UpdateEncoding(const std::string& encoding_name) { … }
void FrameHostInterceptorForTesting::UpdateState(const ::blink::PageState& state) { … }
void FrameHostInterceptorForTesting::OpenURL(::blink::mojom::OpenURLParamsPtr params) { … }
void FrameHostInterceptorForTesting::DidStopLoading() { … }
FrameHostAsyncWaiter::FrameHostAsyncWaiter(
FrameHost* proxy) : … { … }
FrameHostAsyncWaiter::~FrameHostAsyncWaiter() = default;
void FrameHostAsyncWaiter::CreateNewWindow(
CreateNewWindowParamsPtr params, CreateNewWindowStatus* out_status, CreateNewWindowReplyPtr* out_reply) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif