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 // Defines various defaults whose values varies depending upon the OS. | 5 // Defines various defaults whose values varies depending upon the OS. |
6 | 6 |
7 #ifndef CHROME_BROWSER_DEFAULTS_H_ | 7 #ifndef CHROME_BROWSER_DEFAULTS_H_ |
8 #define CHROME_BROWSER_DEFAULTS_H_ | 8 #define CHROME_BROWSER_DEFAULTS_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "chrome/browser/prefs/session_startup_pref.h" | 11 #include "chrome/browser/prefs/session_startup_pref.h" |
12 #include "ui/base/resource/resource_bundle.h" | 12 #include "ui/base/resource/resource_bundle.h" |
13 | 13 |
14 namespace browser_defaults { | 14 namespace browser_defaults { |
15 | 15 |
16 #if defined(USE_X11) | 16 #if defined(USE_X11) |
17 | 17 |
18 // Can the user toggle the system title bar? | 18 // Can the user toggle the system title bar? |
19 extern const bool kCanToggleSystemTitleBar; | 19 extern const bool kCanToggleSystemTitleBar; |
20 | 20 |
21 #endif | 21 #endif |
22 | 22 |
23 // Size of the font used in the autocomplete box for normal windows, in pixels. | 23 // Size of the font used in the omnibox, in pixels. |
24 extern const int kAutocompleteEditFontPixelSize; | 24 extern const int kOmniboxFontPixelSize; |
25 | |
26 // Size of the font used in the autocomplete box for popup windows, in pixels. | |
27 extern const int kAutocompleteEditFontPixelSizeInPopup; | |
28 | 25 |
29 // Width of mini-tabs. | 26 // Width of mini-tabs. |
30 extern const int kMiniTabWidth; | 27 extern const int kMiniTabWidth; |
31 | 28 |
32 // Should session restore restore popup windows? | 29 // Should session restore restore popup windows? |
33 extern const bool kRestorePopups; | 30 extern const bool kRestorePopups; |
34 | 31 |
35 // Can the browser be alive without any browser windows? | 32 // Can the browser be alive without any browser windows? |
36 extern const bool kBrowserAliveWithNoWindows; | 33 extern const bool kBrowserAliveWithNoWindows; |
37 | 34 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // Are bookmark enabled? True by default. | 91 // Are bookmark enabled? True by default. |
95 extern bool bookmarks_enabled; | 92 extern bool bookmarks_enabled; |
96 | 93 |
97 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 94 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
98 // today. | 95 // today. |
99 extern bool enable_help_app; | 96 extern bool enable_help_app; |
100 | 97 |
101 } // namespace browser_defaults | 98 } // namespace browser_defaults |
102 | 99 |
103 #endif // CHROME_BROWSER_DEFAULTS_H_ | 100 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |