1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Defines various defaults whose values varies depending upon the OS.
7 #ifndef CHROME_BROWSER_DEFAULTS_H_
8 #define CHROME_BROWSER_DEFAULTS_H_
10 #include "build/build_config.h"
12 namespace browser_defaults {
14 // Can the browser be alive without any browser windows?
15 extern const bool kBrowserAliveWithNoWindows;
17 // Whether various menu items are shown.
18 extern const bool kShowExitMenuItem;
19 extern const bool kShowUpgradeMenuItem;
21 // Only used in branded builds.
22 extern const bool kShowHelpMenuItemIcon;
24 // Should a link be shown on the bookmark bar allowing the user to import
26 extern const bool kShowImportOnBookmarkBar;
28 // If true, redefines `--incognito` switch to cause all browsers to be in
29 // incognito mode rather than just the initial browser.
30 extern const bool kAlwaysOpenIncognitoBrowserIfStartedWithIncognitoSwitch;
32 // Indicates whether session restore should always create a new
33 // tabbed browser. This is true every where except on ChromeOS
34 // where we want the desktop to show through in this situation.
35 extern const bool kAlwaysCreateTabbedBrowserOnSessionRestore;
37 // Should scroll events on the tabstrip change tabs?
38 extern const bool kScrollEventChangesTab;
40 //=============================================================================
41 // Runtime "const" - set only once after parsing command line option and should
42 // never be modified after that.
44 // Are bookmark enabled? True by default.
45 extern bool bookmarks_enabled;
47 } // namespace browser_defaults
49 #endif // CHROME_BROWSER_DEFAULTS_H_