mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
Browser: Move menu management from Tab to BrowserWindow
It was very confusing for every Tab to have their own GUI::Menubar that got dynamically swapped in/out when switching tabs. This change moves us to a single menubar per window, and BrowserWindow is the owner of its own menubar.
This commit is contained in:
parent
e5367c13d8
commit
aed695d4b2
6 changed files with 345 additions and 304 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
namespace Browser {
|
||||
|
||||
String g_search_engine;
|
||||
String g_home_url;
|
||||
bool g_single_process = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue