mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibWeb: Establish parent/child relationship between BrowsingContexts
When an iframe is inserted or removed from a document, we now take it in and out of the BrowsingContext tree.
This commit is contained in:
parent
6499cf4d28
commit
1e53cc3f5b
2 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,7 @@ public:
|
|||
DOM::Document const* content_document_without_origin_check() const;
|
||||
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(Node*) override;
|
||||
|
||||
protected:
|
||||
RefPtr<BrowsingContext> m_nested_browsing_context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue