1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

Browser: Add window to inspect history

This commit is contained in:
Rafał Babiarz 2022-12-10 16:50:47 +01:00 committed by Andrew Kaster
parent ebe925b7c0
commit 3454891d38
11 changed files with 259 additions and 0 deletions

View file

@ -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)