OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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(OS_CHROMEOS) | 9 #if defined(OS_CHROMEOS) |
10 | 10 |
11 const double kAutocompleteEditFontPixelSize = 12.0; | 11 const double kAutocompleteEditFontPixelSize = 12.0; |
12 const double kAutocompleteEditFontPixelSizeInPopup = kAutocompletePopupFontSize; | 12 const double kAutocompleteEditFontPixelSizeInPopup = kAutocompletePopupFontSize; |
13 | 13 |
14 const int kAutocompletePopupFontSize = 7; | 14 const int kAutocompletePopupFontSize = 7; |
15 const SessionStartupPref::Type kDefaultSessionStartupType = | 15 const SessionStartupPref::Type kDefaultSessionStartupType = |
16 SessionStartupPref::LAST; | 16 SessionStartupPref::LAST; |
17 const int kMiniTabWidth = 64; | 17 const int kMiniTabWidth = 64; |
18 const bool kCanToggleSystemTitleBar = false; | 18 const bool kCanToggleSystemTitleBar = false; |
19 const bool kRestorePopups = true; | 19 const bool kRestorePopups = true; |
20 const bool kShowImportOnBookmarkBar = false; | 20 const bool kShowImportOnBookmarkBar = false; |
21 const bool kShowExitMenuItem = false; | 21 const bool kShowExitMenuItem = true; |
22 const bool kShowAboutMenuItem = true; | 22 const bool kShowAboutMenuItem = true; |
23 const bool kOSSupportsOtherBrowsers = false; | 23 const bool kOSSupportsOtherBrowsers = false; |
24 const bool kDownloadPageHasShowInFolder = false; | 24 const bool kDownloadPageHasShowInFolder = false; |
25 const bool kSizeTabButtonToTopOfTabStrip = true; | 25 const bool kSizeTabButtonToTopOfTabStrip = true; |
26 const bool kBootstrapSyncAuthentication = true; | 26 const bool kBootstrapSyncAuthentication = true; |
27 | 27 |
28 #elif defined(OS_LINUX) | 28 #elif defined(OS_LINUX) |
29 | 29 |
30 // 13.4px = 10pt @ 96dpi. | 30 // 13.4px = 10pt @ 96dpi. |
31 const double kAutocompleteEditFontPixelSize = 13.4; | 31 const double kAutocompleteEditFontPixelSize = 13.4; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 #endif | 67 #endif |
68 | 68 |
69 #if defined(OS_MACOSX) | 69 #if defined(OS_MACOSX) |
70 const bool kBrowserAliveWithNoWindows = true; | 70 const bool kBrowserAliveWithNoWindows = true; |
71 #else | 71 #else |
72 const bool kBrowserAliveWithNoWindows = false; | 72 const bool kBrowserAliveWithNoWindows = false; |
73 #endif | 73 #endif |
74 | 74 |
75 } // namespace browser_defaults | 75 } // namespace browser_defaults |
OLD | NEW |