mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibWeb: Implement get_the_history_object_length_and_index()
This commit is contained in:
parent
09cb266cb8
commit
5b06e43938
2 changed files with 28 additions and 0 deletions
|
@ -30,6 +30,12 @@ public:
|
|||
bool running_nested_apply_history_step() const { return m_running_nested_apply_history_step; };
|
||||
VisibilityState system_visibility_state() const { return m_system_visibility_state; };
|
||||
|
||||
struct HistoryObjectLengthAndIndex {
|
||||
size_t script_history_length;
|
||||
size_t script_history_index;
|
||||
};
|
||||
HistoryObjectLengthAndIndex get_the_history_object_length_and_index(int) const;
|
||||
|
||||
Vector<int> get_all_used_history_steps() const;
|
||||
void clear_the_forward_session_history();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue