Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / defaults.cc
blobf6748d6a3693a7de8d194ab64662905963dc109f
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 const bool kRestorePopups = false;
21 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
22 const bool kBrowserAliveWithNoWindows = true;
23 const bool kShowExitMenuItem = false;
24 #else
25 const bool kBrowserAliveWithNoWindows = false;
26 const bool kShowExitMenuItem = true;
27 #endif
29 #if defined(OS_CHROMEOS)
30 const bool kShowHelpMenuItemIcon = true;
31 const bool kShowUpgradeMenuItem = false;
32 const bool kShowImportOnBookmarkBar = false;
33 const bool kAlwaysOpenIncognitoWindow = true;
34 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
35 #else
36 const bool kShowHelpMenuItemIcon = false;
37 const bool kShowUpgradeMenuItem = true;
38 const bool kShowImportOnBookmarkBar = true;
39 const bool kAlwaysOpenIncognitoWindow = false;
40 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
41 #endif
43 const bool kDownloadPageHasShowInFolder = true;
44 const bool kSizeTabButtonToTopOfTabStrip = false;
46 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
47 const bool kSyncAutoStarts = true;
48 const bool kShowOtherBrowsersInAboutMemory = false;
49 #else
50 const bool kSyncAutoStarts = false;
51 const bool kShowOtherBrowsersInAboutMemory = true;
52 #endif
54 #if defined(TOOLKIT_GTK)
55 const bool kShowCancelButtonInTaskManager = true;
56 #else
57 const bool kShowCancelButtonInTaskManager = false;
58 #endif
60 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
61 const bool kScrollEventChangesTab = true;
62 #else
63 const bool kScrollEventChangesTab = false;
64 #endif
66 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
67 ui::ResourceBundle::BoldFont;
69 #if !defined(OS_ANDROID)
70 const bool kPasswordEchoEnabled = false;
71 #endif
73 bool bookmarks_enabled = true;
75 bool enable_help_app = true;
77 } // namespace browser_defaults