1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +00:00

LibWeb: Implement "traverse the history by delta" for traversables

This commit is contained in:
Aliaksandr Kalenik 2023-04-07 00:03:15 +03:00 committed by Andreas Kling
parent 0e2684b10f
commit aafa09e7a5
2 changed files with 29 additions and 0 deletions

View file

@ -42,6 +42,7 @@ public:
Vector<JS::Handle<Navigable>> get_all_navigables_whose_current_session_history_entry_will_change_or_reload(int) const;
Vector<int> get_all_used_history_steps() const;
void clear_the_forward_session_history();
void traverse_the_history_by_delta(int delta);
private:
TraversableNavigable();