mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
Browser: Add window to inspect history
This commit is contained in:
parent
ebe925b7c0
commit
3454891d38
Notes:
sideshowbarker
2024-07-17 02:23:07 +09:00
Author: https://github.com/Sauler
Commit: 3454891d38
Pull-request: https://github.com/SerenityOS/serenity/pull/16414
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/MacDue
Reviewed-by: https://github.com/linusg
11 changed files with 259 additions and 0 deletions
|
@ -18,6 +18,11 @@ void History::dump() const
|
|||
}
|
||||
}
|
||||
|
||||
Vector<History::URLTitlePair> History::get_all_history_entries()
|
||||
{
|
||||
return m_items;
|
||||
}
|
||||
|
||||
void History::push(const URL& url, DeprecatedString const& title)
|
||||
{
|
||||
if (!m_items.is_empty() && m_items[m_current].url == url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue