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 15 matching lines...) Expand all Loading... |
26 // Width of mini-tabs. Inline because other constants are computed depending | 26 // Width of mini-tabs. Inline because other constants are computed depending |
27 // on this, which causes static initializers if the value isn't available in | 27 // on this, which causes static initializers if the value isn't available in |
28 // all translation units that do this. | 28 // all translation units that do this. |
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) | |
37 // Whether to show a Link Disambiguation Popup Bubble if the browser detects an | |
38 // ambiguous touch event. | |
39 extern const bool kShowLinkDisambiguationPopup; | |
40 #endif | |
41 | |
42 // Can the browser be alive without any browser windows? | 36 // Can the browser be alive without any browser windows? |
43 extern const bool kBrowserAliveWithNoWindows; | 37 extern const bool kBrowserAliveWithNoWindows; |
44 | 38 |
45 // Whether various menu items are shown. | 39 // Whether various menu items are shown. |
46 extern const bool kShowExitMenuItem; | 40 extern const bool kShowExitMenuItem; |
47 extern const bool kShowHelpMenuItemIcon; | 41 extern const bool kShowHelpMenuItemIcon; |
48 extern const bool kShowUpgradeMenuItem; | 42 extern const bool kShowUpgradeMenuItem; |
49 | 43 |
50 // Should a link be shown on the bookmark bar allowing the user to import | 44 // Should a link be shown on the bookmark bar allowing the user to import |
51 // bookmarks? | 45 // bookmarks? |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // Are bookmark enabled? True by default. | 84 // Are bookmark enabled? True by default. |
91 extern bool bookmarks_enabled; | 85 extern bool bookmarks_enabled; |
92 | 86 |
93 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 87 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
94 // today. | 88 // today. |
95 extern bool enable_help_app; | 89 extern bool enable_help_app; |
96 | 90 |
97 } // namespace browser_defaults | 91 } // namespace browser_defaults |
98 | 92 |
99 #endif // CHROME_BROWSER_DEFAULTS_H_ | 93 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |