Delay app cache check until flag file indicates that it is ready
[chromium-blink-merge.git] / chrome / browser / defaults.cc
blob7578f70719e4298ea54905538b227e36672eacea
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 {
9 #if defined(USE_X11)
10 #if defined(TOOLKIT_VIEWS)
11 const bool kCanToggleSystemTitleBar = false;
12 #else
13 const bool kCanToggleSystemTitleBar = true;
14 #endif
15 #endif
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;
22 #else
23 const int kMiniTabWidth = 56;
24 #endif
26 const bool kRestorePopups = false;
28 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
29 const bool kBrowserAliveWithNoWindows = true;
30 const bool kShowExitMenuItem = false;
31 #else
32 const bool kBrowserAliveWithNoWindows = false;
33 const bool kShowExitMenuItem = true;
34 #endif
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;
43 #else
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;
50 #endif
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;
58 #else
59 const bool kSyncAutoStarts = false;
60 const bool kShowOtherBrowsersInAboutMemory = true;
61 #endif
63 #if defined(TOOLKIT_GTK)
64 const bool kShowCancelButtonInTaskManager = true;
65 #else
66 const bool kShowCancelButtonInTaskManager = false;
67 #endif
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;
76 #endif
78 bool bookmarks_enabled = true;
80 bool enable_help_app = true;
82 } // namespace browser_defaults