| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 // Should the tab strip be sized to the top of the tab strip? | 39 // Should the tab strip be sized to the top of the tab strip? |
| 40 extern const bool kSizeTabButtonToTopOfTabStrip; | 40 extern const bool kSizeTabButtonToTopOfTabStrip; |
| 41 | 41 |
| 42 // If true, we want to automatically start sync signin whenever we have | 42 // If true, we want to automatically start sync signin whenever we have |
| 43 // credentials (user doesn't need to go through the startup flow). This is | 43 // credentials (user doesn't need to go through the startup flow). This is |
| 44 // typically enabled on platforms (like ChromeOS) that have their own | 44 // typically enabled on platforms (like ChromeOS) that have their own |
| 45 // distinct signin flow. | 45 // distinct signin flow. |
| 46 extern const bool kSyncAutoStarts; | 46 extern const bool kSyncAutoStarts; |
| 47 | 47 |
| 48 // Should other browsers be shown in about:memory page? | |
| 49 extern const bool kShowOtherBrowsersInAboutMemory; | |
| 50 | |
| 51 // Should scroll events on the tabstrip change tabs? | 48 // Should scroll events on the tabstrip change tabs? |
| 52 extern const bool kScrollEventChangesTab; | 49 extern const bool kScrollEventChangesTab; |
| 53 | 50 |
| 54 // Last character display for passwords. | 51 // Last character display for passwords. |
| 55 extern const bool kPasswordEchoEnabled; | 52 extern const bool kPasswordEchoEnabled; |
| 56 | 53 |
| 57 //============================================================================= | 54 //============================================================================= |
| 58 // Runtime "const" - set only once after parsing command line option and should | 55 // Runtime "const" - set only once after parsing command line option and should |
| 59 // never be modified after that. | 56 // never be modified after that. |
| 60 | 57 |
| 61 // Are bookmark enabled? True by default. | 58 // Are bookmark enabled? True by default. |
| 62 extern bool bookmarks_enabled; | 59 extern bool bookmarks_enabled; |
| 63 | 60 |
| 64 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 61 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
| 65 // today. | 62 // today. |
| 66 extern bool enable_help_app; | 63 extern bool enable_help_app; |
| 67 | 64 |
| 68 } // namespace browser_defaults | 65 } // namespace browser_defaults |
| 69 | 66 |
| 70 #endif // CHROME_BROWSER_DEFAULTS_H_ | 67 #endif // CHROME_BROWSER_DEFAULTS_H_ |
| OLD | NEW |