[M120][Tizen][Onscreen] Fix build errors for TV profile
[platform/framework/web/chromium-efl.git] / chrome / browser / defaults.h
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.
4
5 // Defines various defaults whose values varies depending upon the OS.
6
7 #ifndef CHROME_BROWSER_DEFAULTS_H_
8 #define CHROME_BROWSER_DEFAULTS_H_
9
10 #include "build/build_config.h"
11
12 namespace browser_defaults {
13
14 // Can the browser be alive without any browser windows?
15 extern const bool kBrowserAliveWithNoWindows;
16
17 // Whether various menu items are shown.
18 extern const bool kShowExitMenuItem;
19 extern const bool kShowUpgradeMenuItem;
20
21 // Only used in branded builds.
22 extern const bool kShowHelpMenuItemIcon;
23
24 // Should a link be shown on the bookmark bar allowing the user to import
25 // bookmarks?
26 extern const bool kShowImportOnBookmarkBar;
27
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;
31
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;
36
37 // Should scroll events on the tabstrip change tabs?
38 extern const bool kScrollEventChangesTab;
39
40 //=============================================================================
41 // Runtime "const" - set only once after parsing command line option and should
42 // never be modified after that.
43
44 // Are bookmark enabled? True by default.
45 extern bool bookmarks_enabled;
46
47 }  // namespace browser_defaults
48
49 #endif  // CHROME_BROWSER_DEFAULTS_H_