#include "third_party/blink/public/web/web_frame.h"
#include <algorithm>
#include "third_party/blink/public/mojom/frame/frame_replication_state.mojom.h"
#include "third_party/blink/public/mojom/frame/tree_scope_type.mojom-blink.h"
#include "third_party/blink/public/mojom/scroll/scrollbar_mode.mojom-blink.h"
#include "third_party/blink/public/mojom/security_context/insecure_request_policy.mojom-blink.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/renderer/bindings/core/v8/window_proxy_manager.h"
#include "third_party/blink/renderer/core/dom/increment_load_event_delay_count.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/opened_frame_tracker.h"
#include "third_party/blink/renderer/core/frame/remote_frame.h"
#include "third_party/blink/renderer/core/frame/remote_frame_owner.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/frame/web_remote_frame_impl.h"
#include "third_party/blink/renderer/core/html/html_frame_element_base.h"
#include "third_party/blink/renderer/core/html/html_frame_owner_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
namespace blink {
bool WebFrame::Swap(WebLocalFrame* frame) { … }
bool WebFrame::Swap(
WebRemoteFrame* frame,
CrossVariantMojoAssociatedRemote<mojom::blink::RemoteFrameHostInterfaceBase>
remote_frame_host,
CrossVariantMojoAssociatedReceiver<mojom::blink::RemoteFrameInterfaceBase>
remote_frame_receiver,
blink::mojom::FrameReplicationStatePtr replicated_state) { … }
void WebFrame::Detach() { … }
WebSecurityOrigin WebFrame::GetSecurityOrigin() const { … }
mojom::blink::InsecureRequestPolicy WebFrame::GetInsecureRequestPolicy() const { … }
WebVector<unsigned> WebFrame::GetInsecureRequestToUpgrade() const { … }
WebFrame* WebFrame::Opener() const { … }
void WebFrame::ClearOpener() { … }
WebFrame* WebFrame::Parent() const { … }
WebFrame* WebFrame::Top() const { … }
WebFrame* WebFrame::FirstChild() const { … }
WebFrame* WebFrame::LastChild() const { … }
WebFrame* WebFrame::NextSibling() const { … }
WebFrame* WebFrame::PreviousSibling() const { … }
WebFrame* WebFrame::TraverseNext() const { … }
bool WebFrame::IsOutermostMainFrame() const { … }
WebFrame* WebFrame::FromFrameOwnerElement(const WebNode& web_node) { … }
bool WebFrame::IsLoading() const { … }
WebFrame* WebFrame::FromCoreFrame(Frame* frame) { … }
WebFrame::WebFrame(mojom::blink::TreeScopeType scope,
const FrameToken& frame_token)
: … { … }
void WebFrame::Close() { … }
Frame* WebFrame::ToCoreFrame(const WebFrame& frame) { … }
}