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" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 // Should the close button be shown in the Task Manager dialog? | 74 // Should the close button be shown in the Task Manager dialog? |
75 extern const bool kShowCancelButtonInTaskManager; | 75 extern const bool kShowCancelButtonInTaskManager; |
76 | 76 |
77 // Should scroll events on the tabstrip change tabs? | 77 // Should scroll events on the tabstrip change tabs? |
78 extern const bool kScrollEventChangesTab; | 78 extern const bool kScrollEventChangesTab; |
79 | 79 |
80 // ChromiumOS network menu font | 80 // ChromiumOS network menu font |
81 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; | 81 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; |
82 | 82 |
83 // Preferred infobar border padding in pixels. | |
84 extern const int kInfoBarBorderPaddingVertical; | |
85 | |
86 // Last character display for passwords. | 83 // Last character display for passwords. |
87 extern const bool kPasswordEchoEnabled; | 84 extern const bool kPasswordEchoEnabled; |
88 | 85 |
89 //============================================================================= | 86 //============================================================================= |
90 // Runtime "const" - set only once after parsing command line option and should | 87 // Runtime "const" - set only once after parsing command line option and should |
91 // never be modified after that. | 88 // never be modified after that. |
92 | 89 |
93 // Are bookmark enabled? True by default. | 90 // Are bookmark enabled? True by default. |
94 extern bool bookmarks_enabled; | 91 extern bool bookmarks_enabled; |
95 | 92 |
96 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 93 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
97 // today. | 94 // today. |
98 extern bool enable_help_app; | 95 extern bool enable_help_app; |
99 | 96 |
100 } // namespace browser_defaults | 97 } // namespace browser_defaults |
101 | 98 |
102 #endif // CHROME_BROWSER_DEFAULTS_H_ | 99 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |