diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-18 17:32:28 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-18 20:02:00 +0200 |
commit | aed695d4b24e39764ed113924e90e62b2314fcf8 (patch) | |
tree | 22929b2375d5590ded992b86d97fadb4c025cdb4 /Userland/Applications/Browser/Browser.h | |
parent | e5367c13d8868ebc675f0902211f97e1ef425be5 (diff) | |
download | serenity-aed695d4b24e39764ed113924e90e62b2314fcf8.zip |
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.
Diffstat (limited to 'Userland/Applications/Browser/Browser.h')
-rw-r--r-- | Userland/Applications/Browser/Browser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/Browser/Browser.h b/Userland/Applications/Browser/Browser.h index b3152d2881..f953d49651 100644 --- a/Userland/Applications/Browser/Browser.h +++ b/Userland/Applications/Browser/Browser.h @@ -10,6 +10,7 @@ namespace Browser { +extern bool g_single_process; extern String g_home_url; extern String g_search_engine; |