OLD | NEW |
1 // Copyright (c) 2011 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 |
(...skipping 50 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 | |
74 //============================================================================= | 71 //============================================================================= |
75 // Runtime "const" - set only once after parsing command line option and should | 72 // Runtime "const" - set only once after parsing command line option and should |
76 // never be modified after that. | 73 // never be modified after that. |
77 | 74 |
78 // Are bookmark enabled? True by default. | 75 // Are bookmark enabled? True by default. |
79 extern bool bookmarks_enabled; | 76 extern bool bookmarks_enabled; |
80 | 77 |
81 // Should we skip the user's preference for restore. False by default. | 78 // Should we skip the user's preference for restore. False by default. |
82 extern bool skip_restore; | 79 extern bool skip_restore; |
83 | 80 |
84 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 81 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
85 // today. | 82 // today. |
86 extern bool enable_help_app; | 83 extern bool enable_help_app; |
87 | 84 |
88 } // namespace browser_defaults | 85 } // namespace browser_defaults |
89 | 86 |
90 #endif // CHROME_BROWSER_DEFAULTS_H_ | 87 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |