| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // If true, we want to automatically start sync signin whenever we have | 62 // If true, we want to automatically start sync signin whenever we have |
| 63 // credentials (user doesn't need to go through the startup flow). This is | 63 // credentials (user doesn't need to go through the startup flow). This is |
| 64 // typically enabled on platforms (like ChromeOS) that have their own | 64 // typically enabled on platforms (like ChromeOS) that have their own |
| 65 // distinct signin flow. | 65 // distinct signin flow. |
| 66 extern const bool kSyncAutoStarts; | 66 extern const bool kSyncAutoStarts; |
| 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 the close button be shown in the Task Manager dialog? | |
| 72 extern const bool kShowCancelButtonInTaskManager; | |
| 73 | |
| 74 // Should scroll events on the tabstrip change tabs? | 71 // Should scroll events on the tabstrip change tabs? |
| 75 extern const bool kScrollEventChangesTab; | 72 extern const bool kScrollEventChangesTab; |
| 76 | 73 |
| 77 // ChromiumOS network menu font | 74 // ChromiumOS network menu font |
| 78 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; | 75 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; |
| 79 | 76 |
| 80 // Last character display for passwords. | 77 // Last character display for passwords. |
| 81 extern const bool kPasswordEchoEnabled; | 78 extern const bool kPasswordEchoEnabled; |
| 82 | 79 |
| 83 //============================================================================= | 80 //============================================================================= |
| 84 // Runtime "const" - set only once after parsing command line option and should | 81 // Runtime "const" - set only once after parsing command line option and should |
| 85 // never be modified after that. | 82 // never be modified after that. |
| 86 | 83 |
| 87 // Are bookmark enabled? True by default. | 84 // Are bookmark enabled? True by default. |
| 88 extern bool bookmarks_enabled; | 85 extern bool bookmarks_enabled; |
| 89 | 86 |
| 90 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 87 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
| 91 // today. | 88 // today. |
| 92 extern bool enable_help_app; | 89 extern bool enable_help_app; |
| 93 | 90 |
| 94 } // namespace browser_defaults | 91 } // namespace browser_defaults |
| 95 | 92 |
| 96 #endif // CHROME_BROWSER_DEFAULTS_H_ | 93 #endif // CHROME_BROWSER_DEFAULTS_H_ |
| OLD | NEW |