1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +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

@ -280,6 +280,14 @@ void BrowserWindow::build_menus()
storage_window_action->set_status_tip("Show Storage inspector for this page");
inspect_menu.add_action(storage_window_action);
auto history_window_action = GUI::Action::create(
"Open &History Window", g_icon_bag.history, [this](auto&) {
active_tab().show_history_inspector();
},
this);
storage_window_action->set_status_tip("Show History inspector for this tab");
inspect_menu.add_action(history_window_action);
auto& settings_menu = add_menu("&Settings");
m_change_homepage_action = GUI::Action::create(