EME test page application.
[chromium-blink-merge.git] / chrome / browser / defaults.cc
blob6d6b6b6e881dffa1e37acd6744fe5671b08583be
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(OS_CHROMEOS) || defined(OS_MACOSX)
20 const bool kBrowserAliveWithNoWindows = true;
21 const bool kShowExitMenuItem = false;
22 #else
23 const bool kBrowserAliveWithNoWindows = false;
24 const bool kShowExitMenuItem = true;
25 #endif
27 #if defined(OS_CHROMEOS)
28 const bool kShowHelpMenuItemIcon = true;
29 const bool kShowUpgradeMenuItem = false;
30 const bool kShowImportOnBookmarkBar = false;
31 const bool kAlwaysOpenIncognitoWindow = true;
32 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
33 #else
34 const bool kShowHelpMenuItemIcon = false;
35 const bool kShowUpgradeMenuItem = true;
36 const bool kShowImportOnBookmarkBar = true;
37 const bool kAlwaysOpenIncognitoWindow = false;
38 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
39 #endif
41 const bool kDownloadPageHasShowInFolder = true;
42 const bool kSizeTabButtonToTopOfTabStrip = false;
44 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
45 const bool kSyncAutoStarts = true;
46 const bool kShowOtherBrowsersInAboutMemory = false;
47 #else
48 const bool kSyncAutoStarts = false;
49 const bool kShowOtherBrowsersInAboutMemory = true;
50 #endif
52 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
53 const bool kScrollEventChangesTab = true;
54 #else
55 const bool kScrollEventChangesTab = false;
56 #endif
58 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
59 ui::ResourceBundle::BoldFont;
61 #if !defined(OS_ANDROID)
62 const bool kPasswordEchoEnabled = false;
63 #endif
65 bool bookmarks_enabled = true;
67 bool enable_help_app = true;
69 } // namespace browser_defaults