mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
LibWeb: Rename "FrameHostElement" to "BrowsingContextContainer"
With the renaming of "Frame" to "BrowsingContext", this changes "FrameHostElement" to "BrowsingContextContainer" to further match the spec. https://html.spec.whatwg.org/#browsing-context-container
This commit is contained in:
parent
8298e406a4
commit
59cfc4a8db
5 changed files with 16 additions and 16 deletions
34
Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h
Normal file
34
Userland/Libraries/LibWeb/HTML/BrowsingContextContainer.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
class BrowsingContextContainer : public HTMLElement {
|
||||
public:
|
||||
BrowsingContextContainer(DOM::Document&, QualifiedName);
|
||||
virtual ~BrowsingContextContainer() override;
|
||||
|
||||
BrowsingContext* nested_browsing_context() { return m_nested_browsing_context; }
|
||||
const BrowsingContext* nested_browsing_context() const { return m_nested_browsing_context; }
|
||||
|
||||
const DOM::Document* content_document() const;
|
||||
|
||||
Origin content_origin() const;
|
||||
bool may_access_from_origin(const Origin&) const;
|
||||
|
||||
void nested_browsing_context_did_load(Badge<FrameLoader>);
|
||||
|
||||
virtual void inserted() override;
|
||||
|
||||
protected:
|
||||
RefPtr<BrowsingContext> m_nested_browsing_context;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue