Cleanup BrowserPluginEmbedder
[chromium-blink-merge.git] / chrome / browser / defaults.cc
blobd6a7bf3e7b90fb9c361b00c6e916a69b9a9b2193
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 kShowHelpMenuItemIcon = true;
21 const bool kShowUpgradeMenuItem = false;
22 const bool kShowImportOnBookmarkBar = false;
23 const bool kAlwaysOpenIncognitoWindow = true;
24 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
25 #else
26 const bool kShowHelpMenuItemIcon = false;
27 const bool kShowUpgradeMenuItem = true;
28 const bool kShowImportOnBookmarkBar = true;
29 const bool kAlwaysOpenIncognitoWindow = false;
30 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
31 #endif
33 const bool kDownloadPageHasShowInFolder = true;
34 const bool kSizeTabButtonToTopOfTabStrip = false;
36 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
37 const bool kSyncAutoStarts = true;
38 const bool kShowOtherBrowsersInAboutMemory = false;
39 #else
40 const bool kSyncAutoStarts = false;
41 const bool kShowOtherBrowsersInAboutMemory = true;
42 #endif
44 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
45 const bool kScrollEventChangesTab = true;
46 #else
47 const bool kScrollEventChangesTab = false;
48 #endif
50 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
51 ui::ResourceBundle::BoldFont;
53 #if !defined(OS_ANDROID)
54 const bool kPasswordEchoEnabled = false;
55 #endif
57 bool bookmarks_enabled = true;
59 bool enable_help_app = true;
61 } // namespace browser_defaults