Rename desktop_cursor_loader_updater_aurax11.
[chromium-blink-merge.git] / chrome / browser / defaults.h
blob96105eb7186fb33f09c3fbd16dd7ffb0bba73122
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
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"
11 #include "chrome/browser/prefs/session_startup_pref.h"
12 #include "ui/base/resource/resource_bundle.h"
14 namespace browser_defaults {
16 #if defined(USE_X11)
18 // Can the user toggle the system title bar?
19 extern const bool kCanToggleSystemTitleBar;
21 #endif
23 // Size of the font used in the omnibox, in pixels.
24 extern const int kOmniboxFontPixelSize;
26 // Width of mini-tabs.
27 extern const int kMiniTabWidth;
29 // Should session restore restore popup windows?
30 extern const bool kRestorePopups;
32 // Can the browser be alive without any browser windows?
33 extern const bool kBrowserAliveWithNoWindows;
35 // Whether various menu items are shown.
36 extern const bool kShowExitMenuItem;
37 extern const bool kShowHelpMenuItemIcon;
38 extern const bool kShowUpgradeMenuItem;
40 // Should a link be shown on the bookmark bar allowing the user to import
41 // bookmarks?
42 extern const bool kShowImportOnBookmarkBar;
44 // Should always open incognito windows when started with --incognito switch?
45 extern const bool kAlwaysOpenIncognitoWindow;
47 // Indicates whether session restore should always create a new
48 // tabbed browser. This is true every where except on ChromeOS
49 // where we want the desktop to show through in this situation.
50 extern const bool kAlwaysCreateTabbedBrowserOnSessionRestore;
52 // Does the download page have the show in folder option?
53 extern const bool kDownloadPageHasShowInFolder;
55 // Should the tab strip be sized to the top of the tab strip?
56 extern const bool kSizeTabButtonToTopOfTabStrip;
58 // If true, we want to automatically start sync signin whenever we have
59 // credentials (user doesn't need to go through the startup flow). This is
60 // typically enabled on platforms (like ChromeOS) that have their own
61 // distinct signin flow.
62 extern const bool kSyncAutoStarts;
64 // Should other browsers be shown in about:memory page?
65 extern const bool kShowOtherBrowsersInAboutMemory;
67 // Should the close button be shown in the Task Manager dialog?
68 extern const bool kShowCancelButtonInTaskManager;
70 // ChromiumOS network menu font
71 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle;
73 // Preferred infobar border padding in pixels.
74 extern const int kInfoBarBorderPaddingVertical;
76 // Last character display for passwords.
77 extern const bool kPasswordEchoEnabled;
79 //=============================================================================
80 // Runtime "const" - set only once after parsing command line option and should
81 // never be modified after that.
83 // Are bookmark enabled? True by default.
84 extern bool bookmarks_enabled;
86 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS
87 // today.
88 extern bool enable_help_app;
90 } // namespace browser_defaults
92 #endif // CHROME_BROWSER_DEFAULTS_H_