Popular sites on the NTP: re-download popular suggestions once per Chrome run
[chromium-blink-merge.git] / chrome / browser / defaults.cc
blobb74206095fcece600c5a77d27f9978762096233d
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(OS_CHROMEOS) || defined(OS_MACOSX)
10 const bool kBrowserAliveWithNoWindows = true;
11 const bool kShowExitMenuItem = false;
12 #else
13 const bool kBrowserAliveWithNoWindows = false;
14 const bool kShowExitMenuItem = true;
15 #endif
17 #if defined(OS_CHROMEOS)
18 const bool kShowUpgradeMenuItem = false;
19 const bool kShowImportOnBookmarkBar = false;
20 const bool kAlwaysOpenIncognitoWindow = true;
21 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
22 #else
23 const bool kShowUpgradeMenuItem = true;
24 const bool kShowImportOnBookmarkBar = true;
25 const bool kAlwaysOpenIncognitoWindow = false;
26 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
27 #endif
29 #if defined(GOOGLE_CHROME_BUILD)
30 #if defined(OS_CHROMEOS)
31 const bool kShowHelpMenuItemIcon = true;
32 #else
33 const bool kShowHelpMenuItemIcon = false;
34 #endif
35 #endif
37 const bool kDownloadPageHasShowInFolder = true;
38 const bool kSizeTabButtonToTopOfTabStrip = false;
40 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
41 const bool kSyncAutoStarts = true;
42 const bool kShowOtherBrowsersInAboutMemory = false;
43 #else
44 const bool kSyncAutoStarts = false;
45 const bool kShowOtherBrowsersInAboutMemory = true;
46 #endif
48 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
49 const bool kScrollEventChangesTab = true;
50 #else
51 const bool kScrollEventChangesTab = false;
52 #endif
54 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
55 ui::ResourceBundle::BoldFont;
57 #if !defined(OS_ANDROID)
58 const bool kPasswordEchoEnabled = false;
59 #endif
61 bool bookmarks_enabled = true;
63 bool enable_help_app = true;
65 } // namespace browser_defaults