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. 4 5#include "chrome/browser/defaults.h" 6 7namespace browser_defaults { 8 9#if defined(USE_X11) 10#if defined(TOOLKIT_VIEWS) 11const bool kCanToggleSystemTitleBar = false; 12#else 13const bool kCanToggleSystemTitleBar = true; 14#endif 15#endif 16 17const int kOmniboxFontPixelSize = 16; 18 19#if defined(OS_CHROMEOS) || defined(OS_MACOSX) 20const bool kBrowserAliveWithNoWindows = true; 21const bool kShowExitMenuItem = false; 22#else 23const bool kBrowserAliveWithNoWindows = false; 24const bool kShowExitMenuItem = true; 25#endif 26 27#if defined(OS_CHROMEOS) 28const bool kShowHelpMenuItemIcon = true; 29const bool kShowUpgradeMenuItem = false; 30const bool kShowImportOnBookmarkBar = false; 31const bool kAlwaysOpenIncognitoWindow = true; 32const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false; 33#else 34const bool kShowHelpMenuItemIcon = false; 35const bool kShowUpgradeMenuItem = true; 36const bool kShowImportOnBookmarkBar = true; 37const bool kAlwaysOpenIncognitoWindow = false; 38const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true; 39#endif 40 41const bool kDownloadPageHasShowInFolder = true; 42const bool kSizeTabButtonToTopOfTabStrip = false; 43 44#if defined(OS_CHROMEOS) || defined(OS_ANDROID) 45const bool kSyncAutoStarts = true; 46const bool kShowOtherBrowsersInAboutMemory = false; 47#else 48const bool kSyncAutoStarts = false; 49const bool kShowOtherBrowsersInAboutMemory = true; 50#endif 51 52#if defined(OS_LINUX) && !defined(OS_CHROMEOS) 53const bool kScrollEventChangesTab = true; 54#else 55const bool kScrollEventChangesTab = false; 56#endif 57 58const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = 59 ui::ResourceBundle::BoldFont; 60 61#if !defined(OS_ANDROID) 62const bool kPasswordEchoEnabled = false; 63#endif 64 65bool bookmarks_enabled = true; 66 67bool enable_help_app = true; 68 69} // namespace browser_defaults 70