1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

Browser: Add right-click context menu to tabs

Right clicking on a position in the PageView of a tab will open a
context menu with common actions like back, forward, reload, view
source and inspect DOM. :^)
This commit is contained in:
Andrew Kaster 2020-06-27 14:23:21 -06:00 committed by Andreas Kling
parent cc675cbe24
commit 3a4e121904
2 changed files with 21 additions and 5 deletions

View file

@ -76,6 +76,7 @@ private:
String m_link_context_menu_href;
RefPtr<GUI::Menu> m_tab_context_menu;
RefPtr<GUI::Menu> m_page_context_menu;
String m_title;
RefPtr<const Gfx::Bitmap> m_icon;