| 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 // Size of the font used in the omnibox, in pixels. | |
| 17 extern const int kOmniboxFontPixelSize; | |
| 18 | |
| 19 // Can the browser be alive without any browser windows? | 16 // Can the browser be alive without any browser windows? |
| 20 extern const bool kBrowserAliveWithNoWindows; | 17 extern const bool kBrowserAliveWithNoWindows; |
| 21 | 18 |
| 22 // Whether various menu items are shown. | 19 // Whether various menu items are shown. |
| 23 extern const bool kShowExitMenuItem; | 20 extern const bool kShowExitMenuItem; |
| 24 extern const bool kShowUpgradeMenuItem; | 21 extern const bool kShowUpgradeMenuItem; |
| 25 #if defined(GOOGLE_CHROME_BUILD) | 22 #if defined(GOOGLE_CHROME_BUILD) |
| 26 extern const bool kShowHelpMenuItemIcon; | 23 extern const bool kShowHelpMenuItemIcon; |
| 27 #endif | 24 #endif |
| 28 | 25 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // Are bookmark enabled? True by default. | 66 // Are bookmark enabled? True by default. |
| 70 extern bool bookmarks_enabled; | 67 extern bool bookmarks_enabled; |
| 71 | 68 |
| 72 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 69 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
| 73 // today. | 70 // today. |
| 74 extern bool enable_help_app; | 71 extern bool enable_help_app; |
| 75 | 72 |
| 76 } // namespace browser_defaults | 73 } // namespace browser_defaults |
| 77 | 74 |
| 78 #endif // CHROME_BROWSER_DEFAULTS_H_ | 75 #endif // CHROME_BROWSER_DEFAULTS_H_ |
| OLD | NEW |