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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 // Should session restore restore popup windows? | 33 // Should session restore restore popup windows? |
34 extern const bool kRestorePopups; | 34 extern const bool kRestorePopups; |
35 | 35 |
36 // Can the browser be alive without any browser windows? | 36 // Can the browser be alive without any browser windows? |
37 extern const bool kBrowserAliveWithNoWindows; | 37 extern const bool kBrowserAliveWithNoWindows; |
38 | 38 |
39 // Should a link be shown on the bookmark bar allowing the user to import | 39 // Should a link be shown on the bookmark bar allowing the user to import |
40 // bookmarks? | 40 // bookmarks? |
41 extern const bool kShowImportOnBookmarkBar; | 41 extern const bool kShowImportOnBookmarkBar; |
42 | 42 |
43 // Should the exit menu item be shown in the toolbar menu? | 43 // Whether various menu items are shown. |
44 extern const bool kShowExitMenuItem; | 44 extern const bool kShowExitMenuItem; |
| 45 extern const bool kShowFeedbackMenuItem; |
| 46 extern const bool kShowHelpMenuItemIcon; |
| 47 extern const bool kShowSyncSetupMenuItem; |
| 48 extern const bool kShowUpgradeMenuItem; |
45 | 49 |
46 // Does the OS support other browsers? If not, operations such as default | 50 // Does the OS support other browsers? If not, operations such as default |
47 // browser check are not done. | 51 // browser check are not done. |
48 extern const bool kOSSupportsOtherBrowsers; | 52 extern const bool kOSSupportsOtherBrowsers; |
49 | 53 |
50 // Does the download page have the show in folder option? | 54 // Does the download page have the show in folder option? |
51 extern const bool kDownloadPageHasShowInFolder; | 55 extern const bool kDownloadPageHasShowInFolder; |
52 | 56 |
53 // Should the tab strip be sized to the top of the tab strip? | 57 // Should the tab strip be sized to the top of the tab strip? |
54 extern const bool kSizeTabButtonToTopOfTabStrip; | 58 extern const bool kSizeTabButtonToTopOfTabStrip; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // Are bookmark enabled? True by default. | 93 // Are bookmark enabled? True by default. |
90 extern bool bookmarks_enabled; | 94 extern bool bookmarks_enabled; |
91 | 95 |
92 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 96 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
93 // today. | 97 // today. |
94 extern bool enable_help_app; | 98 extern bool enable_help_app; |
95 | 99 |
96 } // namespace browser_defaults | 100 } // namespace browser_defaults |
97 | 101 |
98 #endif // CHROME_BROWSER_DEFAULTS_H_ | 102 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |