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 const bool kRestorePopups
= false;
21 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
22 const bool kBrowserAliveWithNoWindows
= true;
23 const bool kShowExitMenuItem
= false;
25 const bool kBrowserAliveWithNoWindows
= false;
26 const bool kShowExitMenuItem
= true;
29 #if defined(OS_CHROMEOS)
30 const bool kShowHelpMenuItemIcon
= true;
31 const bool kShowUpgradeMenuItem
= false;
32 const bool kShowImportOnBookmarkBar
= false;
33 const bool kAlwaysOpenIncognitoWindow
= true;
34 const bool kAlwaysCreateTabbedBrowserOnSessionRestore
= false;
36 const bool kShowHelpMenuItemIcon
= false;
37 const bool kShowUpgradeMenuItem
= true;
38 const bool kShowImportOnBookmarkBar
= true;
39 const bool kAlwaysOpenIncognitoWindow
= false;
40 const bool kAlwaysCreateTabbedBrowserOnSessionRestore
= true;
43 const bool kDownloadPageHasShowInFolder
= true;
44 const bool kSizeTabButtonToTopOfTabStrip
= false;
46 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
47 const bool kSyncAutoStarts
= true;
48 const bool kShowOtherBrowsersInAboutMemory
= false;
50 const bool kSyncAutoStarts
= false;
51 const bool kShowOtherBrowsersInAboutMemory
= true;
54 #if defined(TOOLKIT_GTK)
55 const bool kShowCancelButtonInTaskManager
= true;
57 const bool kShowCancelButtonInTaskManager
= false;
60 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
61 const bool kScrollEventChangesTab
= true;
63 const bool kScrollEventChangesTab
= false;
66 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle
=
67 ui::ResourceBundle::BoldFont
;
69 #if !defined(OS_ANDROID)
70 const bool kPasswordEchoEnabled
= false;
73 bool bookmarks_enabled
= true;
75 bool enable_help_app
= true;
77 } // namespace browser_defaults