summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/Browser.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-18 17:32:28 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-18 20:02:00 +0200
commitaed695d4b24e39764ed113924e90e62b2314fcf8 (patch)
tree22929b2375d5590ded992b86d97fadb4c025cdb4 /Userland/Applications/Browser/Browser.h
parente5367c13d8868ebc675f0902211f97e1ef425be5 (diff)
downloadserenity-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.h1
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;