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 #include "chrome/browser/defaults.h"
7 namespace browser_defaults
{
10 #if defined(TOOLKIT_VIEWS)
11 const bool kCanToggleSystemTitleBar
= false;
13 const bool kCanToggleSystemTitleBar
= true;
17 const int kOmniboxFontPixelSize
= 16;
19 #if defined(TOOLKIT_VIEWS)
20 // Windows and Chrome OS have bigger shadows in the tab art.
21 const int kMiniTabWidth
= 64;
23 const int kMiniTabWidth
= 56;
26 const bool kRestorePopups
= false;
28 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
29 const bool kBrowserAliveWithNoWindows
= true;
30 const bool kShowExitMenuItem
= false;
32 const bool kBrowserAliveWithNoWindows
= false;
33 const bool kShowExitMenuItem
= true;
36 #if defined(OS_CHROMEOS)
37 const bool kShowFeedbackMenuItem
= true;
38 const bool kShowHelpMenuItemIcon
= true;
39 const bool kShowUpgradeMenuItem
= false;
40 const bool kShowImportOnBookmarkBar
= false;
41 const bool kAlwaysOpenIncognitoWindow
= true;
42 const bool kAlwaysCreateTabbedBrowserOnSessionRestore
= false;
44 const bool kShowFeedbackMenuItem
= false;
45 const bool kShowHelpMenuItemIcon
= false;
46 const bool kShowUpgradeMenuItem
= true;
47 const bool kShowImportOnBookmarkBar
= true;
48 const bool kAlwaysOpenIncognitoWindow
= false;
49 const bool kAlwaysCreateTabbedBrowserOnSessionRestore
= true;
52 #if defined(OS_CHROMEOS)
53 const bool kOSSupportsOtherBrowsers
= false;
55 const bool kOSSupportsOtherBrowsers
= true;
58 const bool kDownloadPageHasShowInFolder
= true;
59 const bool kSizeTabButtonToTopOfTabStrip
= false;
61 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
62 const bool kSyncAutoStarts
= true;
63 const bool kShowOtherBrowsersInAboutMemory
= false;
65 const bool kSyncAutoStarts
= false;
66 const bool kShowOtherBrowsersInAboutMemory
= true;
69 #if defined(TOOLKIT_GTK)
70 const bool kShowCancelButtonInTaskManager
= true;
72 const bool kShowCancelButtonInTaskManager
= false;
75 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle
=
76 ui::ResourceBundle::BoldFont
;
78 const int kInfoBarBorderPaddingVertical
= 5;
80 #if !defined(OS_ANDROID)
81 const bool kPasswordEchoEnabled
= false;
84 bool bookmarks_enabled
= true;
86 bool enable_help_app
= true;
88 } // namespace browser_defaults