LibWeb: Add set_current_session_history_entry setter for Navigable

This commit is contained in:
Aliaksandr Kalenik 2023-04-06 23:28:08 +03:00 committed by Andreas Kling
parent eb4db6057d
commit 0285a363e2
Notes: sideshowbarker 2024-07-17 02:42:21 +09:00

View File

@ -42,6 +42,7 @@ public:
JS::GCPtr<SessionHistoryEntry> active_session_history_entry() const { return m_active_session_history_entry; };
JS::GCPtr<SessionHistoryEntry> current_session_history_entry() const { return m_current_session_history_entry; };
void set_current_session_history_entry(JS::GCPtr<SessionHistoryEntry> entry) { m_current_session_history_entry = entry; };
Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& get_session_history_entries() const;