OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 // Should other browsers be shown in about:memory page? | 68 // Should other browsers be shown in about:memory page? |
69 extern const bool kShowOtherBrowsersInAboutMemory; | 69 extern const bool kShowOtherBrowsersInAboutMemory; |
70 | 70 |
71 // Should always open incognito windows when started with --incognito switch? | 71 // Should always open incognito windows when started with --incognito switch? |
72 extern const bool kAlwaysOpenIncognitoWindow; | 72 extern const bool kAlwaysOpenIncognitoWindow; |
73 | 73 |
74 // Are phantom tabs enabled? | 74 // Are phantom tabs enabled? |
75 extern const bool kPhantomTabsEnabled; | 75 extern const bool kPhantomTabsEnabled; |
76 | 76 |
| 77 //============================================================================= |
| 78 // Runtime "const" - set only once after parsing command line option and should |
| 79 // never be modified after that. |
| 80 |
| 81 // Are bookmark enabled? True by default. |
| 82 extern bool bookmarks_enabled; |
| 83 |
77 } // namespace browser_defaults | 84 } // namespace browser_defaults |
78 | 85 |
79 #endif // CHROME_BROWSER_DEFAULTS_H_ | 86 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |