| 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_X11) | 9 #if defined(USE_X11) |
| 10 #if defined(TOOLKIT_VIEWS) | 10 #if defined(TOOLKIT_VIEWS) |
| 11 const bool kCanToggleSystemTitleBar = false; | 11 const bool kCanToggleSystemTitleBar = false; |
| 12 #else | 12 #else |
| 13 const bool kCanToggleSystemTitleBar = true; | 13 const bool kCanToggleSystemTitleBar = true; |
| 14 #endif | 14 #endif |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 #if defined(TOOLKIT_GTK) | 17 const int kOmniboxFontPixelSize = 16; |
| 18 // 14px = 10.5pt @ 96dpi. | |
| 19 const int kOmniboxFontPixelSize = 14; | |
| 20 #else | |
| 21 // Make the regular omnibox text two points larger than the nine-point font | |
| 22 // used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px). | |
| 23 const int kOmniboxFontPixelSize = 15; | |
| 24 #endif | |
| 25 | 18 |
| 26 #if defined(TOOLKIT_VIEWS) | 19 #if defined(TOOLKIT_VIEWS) |
| 27 // Windows and Chrome OS have bigger shadows in the tab art. | 20 // Windows and Chrome OS have bigger shadows in the tab art. |
| 28 const int kMiniTabWidth = 64; | 21 const int kMiniTabWidth = 64; |
| 29 #else | 22 #else |
| 30 const int kMiniTabWidth = 56; | 23 const int kMiniTabWidth = 56; |
| 31 #endif | 24 #endif |
| 32 | 25 |
| 33 const bool kRestorePopups = false; | 26 const bool kRestorePopups = false; |
| 34 | 27 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 const bool kPasswordEchoEnabled = true; | 83 const bool kPasswordEchoEnabled = true; |
| 91 #else | 84 #else |
| 92 const bool kPasswordEchoEnabled = false; | 85 const bool kPasswordEchoEnabled = false; |
| 93 #endif | 86 #endif |
| 94 | 87 |
| 95 bool bookmarks_enabled = true; | 88 bool bookmarks_enabled = true; |
| 96 | 89 |
| 97 bool enable_help_app = true; | 90 bool enable_help_app = true; |
| 98 | 91 |
| 99 } // namespace browser_defaults | 92 } // namespace browser_defaults |
| OLD | NEW |