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 18 matching lines...) Expand all Loading... |
29 #if defined(TOOLKIT_VIEWS) | 29 #if defined(TOOLKIT_VIEWS) |
30 // Windows and Chrome OS have bigger shadows in the tab art. | 30 // Windows and Chrome OS have bigger shadows in the tab art. |
31 const int kMiniTabWidth = 64; | 31 const int kMiniTabWidth = 64; |
32 #else | 32 #else |
33 const int kMiniTabWidth = 56; | 33 const int kMiniTabWidth = 56; |
34 #endif | 34 #endif |
35 | 35 |
36 #if defined(TOOLKIT_VIEWS) | 36 #if defined(TOOLKIT_VIEWS) |
37 // Whether to show a Link Disambiguation Popup Bubble if the browser detects an | 37 // Whether to show a Link Disambiguation Popup Bubble if the browser detects an |
38 // ambiguous touch event. | 38 // ambiguous touch event. |
39 extern const bool kShowLinkDisambiguationPopup; | 39 extern const bool kShowLinkDisambiguationPopupDONTUSEME; |
40 #endif | 40 #endif |
41 | 41 |
42 // Can the browser be alive without any browser windows? | 42 // Can the browser be alive without any browser windows? |
43 extern const bool kBrowserAliveWithNoWindows; | 43 extern const bool kBrowserAliveWithNoWindows; |
44 | 44 |
45 // Whether various menu items are shown. | 45 // Whether various menu items are shown. |
46 extern const bool kShowExitMenuItem; | 46 extern const bool kShowExitMenuItem; |
47 extern const bool kShowHelpMenuItemIcon; | 47 extern const bool kShowHelpMenuItemIcon; |
48 extern const bool kShowUpgradeMenuItem; | 48 extern const bool kShowUpgradeMenuItem; |
49 | 49 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // Are bookmark enabled? True by default. | 90 // Are bookmark enabled? True by default. |
91 extern bool bookmarks_enabled; | 91 extern bool bookmarks_enabled; |
92 | 92 |
93 // 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 |
94 // today. | 94 // today. |
95 extern bool enable_help_app; | 95 extern bool enable_help_app; |
96 | 96 |
97 } // namespace browser_defaults | 97 } // namespace browser_defaults |
98 | 98 |
99 #endif // CHROME_BROWSER_DEFAULTS_H_ | 99 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |