| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 // 13.4px = 10pt @ 96dpi. | 23 // 13.4px = 10pt @ 96dpi. |
| 24 const double kAutocompleteEditFontPixelSize = 13.4; | 24 const double kAutocompleteEditFontPixelSize = 13.4; |
| 25 | 25 |
| 26 // On Windows, popup windows' autocomplete box have a font 5/6 the size of a | 26 // On Windows, popup windows' autocomplete box have a font 5/6 the size of a |
| 27 // regular window, which we duplicate here for GTK. | 27 // regular window, which we duplicate here for GTK. |
| 28 const double kAutocompleteEditFontPixelSizeInPopup = | 28 const double kAutocompleteEditFontPixelSizeInPopup = |
| 29 kAutocompleteEditFontPixelSize * 5.0 / 6.0; | 29 kAutocompleteEditFontPixelSize * 5.0 / 6.0; |
| 30 | 30 |
| 31 const int kAutocompletePopupFontSize = 10; | 31 const int kAutocompletePopupFontSize = 10; |
| 32 | 32 |
| 33 #if defined(TOOLKIT_VIEWS) |
| 34 const bool kCanToggleSystemTitleBar = false; |
| 35 #else |
| 33 const bool kCanToggleSystemTitleBar = true; | 36 const bool kCanToggleSystemTitleBar = true; |
| 37 #endif |
| 34 | 38 |
| 35 #endif | 39 #endif |
| 36 | 40 |
| 37 #if !defined(OS_CHROMEOS) | 41 #if !defined(OS_CHROMEOS) |
| 38 | 42 |
| 39 const SessionStartupPref::Type kDefaultSessionStartupType = | 43 const SessionStartupPref::Type kDefaultSessionStartupType = |
| 40 SessionStartupPref::DEFAULT; | 44 SessionStartupPref::DEFAULT; |
| 41 const bool kSuppressCrashInfoBar = false; | 45 const bool kSuppressCrashInfoBar = false; |
| 42 const int kPinnedTabWidth = 56; | 46 const int kPinnedTabWidth = 56; |
| 43 | 47 |
| 44 #endif | 48 #endif |
| 45 | 49 |
| 46 } // namespace browser_defaults | 50 } // namespace browser_defaults |
| OLD | NEW |