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

Browser: Add a simple context menu for hyperlinks

This only has "Open" and "Open in new tab" for now. :^)
This commit is contained in:
Andreas Kling 2020-05-05 22:42:50 +02:00
parent f32989a3e7
commit 588e18721d
2 changed files with 16 additions and 0 deletions

View file

@ -69,6 +69,9 @@ private:
RefPtr<GUI::MenuBar> m_menubar;
RefPtr<GUI::ToolBarContainer> m_toolbar_container;
RefPtr<GUI::Menu> m_link_context_menu;
String m_link_context_menu_href;
String m_title;
RefPtr<const Gfx::Bitmap> m_icon;