mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 00:47:45 +00:00
Ladybird: Move the page context menu from the BrowserWindow to the Tab
This will allow us to show different context menus depending on what element is clicked, much like we do for Browser on Serenity.
This commit is contained in:
parent
1df0a141af
commit
a0e31bf1de
5 changed files with 62 additions and 37 deletions
|
@ -67,6 +67,8 @@ private:
|
|||
QString m_title;
|
||||
QLabel* m_hover_label { nullptr };
|
||||
|
||||
OwnPtr<QMenu> m_page_context_menu;
|
||||
|
||||
int tab_index();
|
||||
|
||||
bool m_is_history_navigation { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue