OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Should other browsers be shown in about:memory page? | 62 // Should other browsers be shown in about:memory page? |
63 extern const bool kShowOtherBrowsersInAboutMemory; | 63 extern const bool kShowOtherBrowsersInAboutMemory; |
64 | 64 |
65 // Should always open incognito windows when started with --incognito switch? | 65 // Should always open incognito windows when started with --incognito switch? |
66 extern const bool kAlwaysOpenIncognitoWindow; | 66 extern const bool kAlwaysOpenIncognitoWindow; |
67 | 67 |
68 // Should the close button be shown in the Task Manager dialog? | 68 // Should the close button be shown in the Task Manager dialog? |
69 extern const bool kShowCancelButtonInTaskManager; | 69 extern const bool kShowCancelButtonInTaskManager; |
70 | 70 |
| 71 // Are touch icons enabled? False by default. |
| 72 extern const bool kEnableTouchIcon; |
| 73 |
71 //============================================================================= | 74 //============================================================================= |
72 // Runtime "const" - set only once after parsing command line option and should | 75 // Runtime "const" - set only once after parsing command line option and should |
73 // never be modified after that. | 76 // never be modified after that. |
74 | 77 |
75 // Are bookmark enabled? True by default. | 78 // Are bookmark enabled? True by default. |
76 extern bool bookmarks_enabled; | 79 extern bool bookmarks_enabled; |
77 | 80 |
78 // Should we skip the user's preference for restore. False by default. | 81 // Should we skip the user's preference for restore. False by default. |
79 extern bool skip_restore; | 82 extern bool skip_restore; |
80 | 83 |
81 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 84 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
82 // today. | 85 // today. |
83 extern bool enable_help_app; | 86 extern bool enable_help_app; |
84 | 87 |
85 } // namespace browser_defaults | 88 } // namespace browser_defaults |
86 | 89 |
87 #endif // CHROME_BROWSER_DEFAULTS_H_ | 90 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |