mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Implement get_the_history_object_length_and_index()
This commit is contained in:
parent
09cb266cb8
commit
5b06e43938
Notes:
sideshowbarker
2024-07-17 07:48:42 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 5b06e43938
Pull-request: https://github.com/SerenityOS/serenity/pull/19490
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