mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibWeb: Implement the "top-level traversable" of a browsing context
This commit is contained in:
parent
65467021e2
commit
6871fbce9f
2 changed files with 13 additions and 0 deletions
|
@ -42,6 +42,8 @@ public:
|
|||
|
||||
virtual ~BrowsingContext() override;
|
||||
|
||||
JS::NonnullGCPtr<HTML::TraversableNavigable> top_level_traversable() const;
|
||||
|
||||
JS::GCPtr<BrowsingContext> parent() const { return m_parent; }
|
||||
void append_child(JS::NonnullGCPtr<BrowsingContext>);
|
||||
void remove_child(JS::NonnullGCPtr<BrowsingContext>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue