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 const bool kDownloadPageHasShowInFolder
= true;
53 const bool kSizeTabButtonToTopOfTabStrip
= false;
55 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
56 const bool kSyncAutoStarts
= true;
57 const bool kShowOtherBrowsersInAboutMemory
= false;
59 const bool kSyncAutoStarts
= false;
60 const bool kShowOtherBrowsersInAboutMemory
= true;
63 #if defined(TOOLKIT_GTK)
64 const bool kShowCancelButtonInTaskManager
= true;
66 const bool kShowCancelButtonInTaskManager
= false;
69 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle
=
70 ui::ResourceBundle::BoldFont
;
72 const int kInfoBarBorderPaddingVertical
= 5;
74 #if !defined(OS_ANDROID)
75 const bool kPasswordEchoEnabled
= false;
78 bool bookmarks_enabled
= true;
80 bool enable_help_app
= true;
82 } // namespace browser_defaults