| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/defaults.h" | 5 #include "chrome/browser/defaults.h" |
| 6 | 6 |
| 7 namespace browser_defaults { | 7 namespace browser_defaults { |
| 8 | 8 |
| 9 #if defined(USE_AURA) | 9 #if defined(USE_AURA) |
| 10 const bool kOSSupportsOtherBrowsers = false; | 10 const bool kOSSupportsOtherBrowsers = false; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 // Make the regular omnibox text two points larger than the nine-point font | 22 // Make the regular omnibox text two points larger than the nine-point font |
| 23 // used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px). | 23 // used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px). |
| 24 const int kAutocompleteEditFontPixelSize = 15; | 24 const int kAutocompleteEditFontPixelSize = 15; |
| 25 | 25 |
| 26 const int kAutocompleteEditFontPixelSizeInPopup = 10; | 26 const int kAutocompleteEditFontPixelSizeInPopup = 10; |
| 27 | 27 |
| 28 const int kMiniTabWidth = 64; | 28 const int kMiniTabWidth = 64; |
| 29 const bool kCanToggleSystemTitleBar = false; | 29 const bool kCanToggleSystemTitleBar = false; |
| 30 const bool kRestorePopups = false; | 30 const bool kRestorePopups = false; |
| 31 const bool kShowImportOnBookmarkBar = false; | 31 const bool kShowImportOnBookmarkBar = false; |
| 32 const bool kShowExitMenuItem = true; | 32 const bool kShowExitMenuItem = false; |
| 33 const bool kShowFeedbackMenuItem = true; |
| 34 const bool kShowHelpMenuItemIcon = true; |
| 35 const bool kShowSyncSetupMenuItem = false; |
| 36 const bool kShowUpgradeMenuItem = false; |
| 33 const bool kDownloadPageHasShowInFolder = true; | 37 const bool kDownloadPageHasShowInFolder = true; |
| 34 const bool kSizeTabButtonToTopOfTabStrip = false; | 38 const bool kSizeTabButtonToTopOfTabStrip = false; |
| 35 const bool kSyncAutoStarts = true; | 39 const bool kSyncAutoStarts = true; |
| 36 const bool kShowOtherBrowsersInAboutMemory = false; | 40 const bool kShowOtherBrowsersInAboutMemory = false; |
| 37 const bool kAlwaysOpenIncognitoWindow = true; | 41 const bool kAlwaysOpenIncognitoWindow = true; |
| 38 | 42 |
| 39 #elif defined(TOOLKIT_GTK) | 43 #elif defined(TOOLKIT_GTK) |
| 40 | 44 |
| 41 // 14px = 10.5pt @ 96dpi. | 45 // 14px = 10.5pt @ 96dpi. |
| 42 const int kAutocompleteEditFontPixelSize = 14; | 46 const int kAutocompleteEditFontPixelSize = 14; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 58 | 62 |
| 59 const int kMiniTabWidth = 56; | 63 const int kMiniTabWidth = 56; |
| 60 const bool kRestorePopups = false; | 64 const bool kRestorePopups = false; |
| 61 const bool kShowImportOnBookmarkBar = true; | 65 const bool kShowImportOnBookmarkBar = true; |
| 62 const bool kDownloadPageHasShowInFolder = true; | 66 const bool kDownloadPageHasShowInFolder = true; |
| 63 #if defined(OS_MACOSX) | 67 #if defined(OS_MACOSX) |
| 64 const bool kShowExitMenuItem = false; | 68 const bool kShowExitMenuItem = false; |
| 65 #else | 69 #else |
| 66 const bool kShowExitMenuItem = true; | 70 const bool kShowExitMenuItem = true; |
| 67 #endif | 71 #endif |
| 72 const bool kShowFeedbackMenuItem = false; |
| 73 const bool kShowHelpMenuItemIcon = false; |
| 74 const bool kShowSyncSetupMenuItem = true; |
| 75 const bool kShowUpgradeMenuItem = true; |
| 68 const bool kSizeTabButtonToTopOfTabStrip = false; | 76 const bool kSizeTabButtonToTopOfTabStrip = false; |
| 69 const bool kSyncAutoStarts = false; | 77 const bool kSyncAutoStarts = false; |
| 70 const bool kShowOtherBrowsersInAboutMemory = true; | 78 const bool kShowOtherBrowsersInAboutMemory = true; |
| 71 const bool kAlwaysOpenIncognitoWindow = false; | 79 const bool kAlwaysOpenIncognitoWindow = false; |
| 72 #endif | 80 #endif |
| 73 | 81 |
| 74 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) | 82 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) |
| 75 const bool kBrowserAliveWithNoWindows = true; | 83 const bool kBrowserAliveWithNoWindows = true; |
| 76 #else | 84 #else |
| 77 const bool kBrowserAliveWithNoWindows = false; | 85 const bool kBrowserAliveWithNoWindows = false; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 89 const bool kPasswordEchoEnabled = true; | 97 const bool kPasswordEchoEnabled = true; |
| 90 #else | 98 #else |
| 91 const bool kPasswordEchoEnabled = false; | 99 const bool kPasswordEchoEnabled = false; |
| 92 #endif | 100 #endif |
| 93 | 101 |
| 94 bool bookmarks_enabled = true; | 102 bool bookmarks_enabled = true; |
| 95 | 103 |
| 96 bool enable_help_app = true; | 104 bool enable_help_app = true; |
| 97 | 105 |
| 98 } // namespace browser_defaults | 106 } // namespace browser_defaults |
| OLD | NEW |