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(USE_AURA) |
| 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 |
36 // Can the browser be alive without any browser windows? | 42 // Can the browser be alive without any browser windows? |
37 extern const bool kBrowserAliveWithNoWindows; | 43 extern const bool kBrowserAliveWithNoWindows; |
38 | 44 |
39 // Whether various menu items are shown. | 45 // Whether various menu items are shown. |
40 extern const bool kShowExitMenuItem; | 46 extern const bool kShowExitMenuItem; |
41 extern const bool kShowHelpMenuItemIcon; | 47 extern const bool kShowHelpMenuItemIcon; |
42 extern const bool kShowUpgradeMenuItem; | 48 extern const bool kShowUpgradeMenuItem; |
43 | 49 |
44 // Should a link be shown on the bookmark bar allowing the user to import | 50 // Should a link be shown on the bookmark bar allowing the user to import |
45 // bookmarks? | 51 // bookmarks? |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Are bookmark enabled? True by default. | 90 // Are bookmark enabled? True by default. |
85 extern bool bookmarks_enabled; | 91 extern bool bookmarks_enabled; |
86 | 92 |
87 // 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 |
88 // today. | 94 // today. |
89 extern bool enable_help_app; | 95 extern bool enable_help_app; |
90 | 96 |
91 } // namespace browser_defaults | 97 } // namespace browser_defaults |
92 | 98 |
93 #endif // CHROME_BROWSER_DEFAULTS_H_ | 99 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |