LibWeb: Implement "activate history entry" for navigables

This commit is contained in:
Aliaksandr Kalenik
2023-04-06 23:33:21 +03:00
committed by Andreas Kling
parent 0285a363e2
commit 09cb266cb8
2 changed files with 29 additions and 0 deletions

View File

@@ -46,6 +46,8 @@ public:
Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& get_session_history_entries() const;
void activate_history_entry(JS::GCPtr<SessionHistoryEntry>);
JS::GCPtr<DOM::Document> active_document();
JS::GCPtr<BrowsingContext> active_browsing_context();
JS::GCPtr<WindowProxy> active_window_proxy();