Extensions: Remove the legacy GetMessages/HasMessages
[chromium-blink-merge.git] / chrome / browser / defaults.cc
bloba95e200aabe1abf77168a6be720d206c9211d9a8
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 const int kOmniboxFontPixelSize = 16;
11 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
12 const bool kBrowserAliveWithNoWindows = true;
13 const bool kShowExitMenuItem = false;
14 #else
15 const bool kBrowserAliveWithNoWindows = false;
16 const bool kShowExitMenuItem = true;
17 #endif
19 #if defined(OS_CHROMEOS)
20 const bool kShowUpgradeMenuItem = false;
21 const bool kShowImportOnBookmarkBar = false;
22 const bool kAlwaysOpenIncognitoWindow = true;
23 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
24 #else
25 const bool kShowUpgradeMenuItem = true;
26 const bool kShowImportOnBookmarkBar = true;
27 const bool kAlwaysOpenIncognitoWindow = false;
28 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
29 #endif
31 #if defined(GOOGLE_CHROME_BUILD)
32 #if defined(OS_CHROMEOS)
33 const bool kShowHelpMenuItemIcon = true;
34 #else
35 const bool kShowHelpMenuItemIcon = false;
36 #endif
37 #endif
39 const bool kDownloadPageHasShowInFolder = true;
40 const bool kSizeTabButtonToTopOfTabStrip = false;
42 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
43 const bool kSyncAutoStarts = true;
44 const bool kShowOtherBrowsersInAboutMemory = false;
45 #else
46 const bool kSyncAutoStarts = false;
47 const bool kShowOtherBrowsersInAboutMemory = true;
48 #endif
50 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
51 const bool kScrollEventChangesTab = true;
52 #else
53 const bool kScrollEventChangesTab = false;
54 #endif
56 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
57 ui::ResourceBundle::BoldFont;
59 #if !defined(OS_ANDROID)
60 const bool kPasswordEchoEnabled = false;
61 #endif
63 bool bookmarks_enabled = true;
65 bool enable_help_app = true;
67 } // namespace browser_defaults