| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file defines all the public base::FeatureList features for the chrome | 5 // This file defines all the public base::FeatureList features for the chrome |
| 6 // module. | 6 // module. |
| 7 | 7 |
| 8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ | 8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ |
| 9 #define CHROME_COMMON_CHROME_FEATURES_H_ | 9 #define CHROME_COMMON_CHROME_FEATURES_H_ |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 extern const base::Feature kMaterialDesignBookmarks; | 103 extern const base::Feature kMaterialDesignBookmarks; |
| 104 | 104 |
| 105 #if BUILDFLAG(ENABLE_EXTENSIONS) | 105 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 106 extern const base::Feature kMaterialDesignExtensions; | 106 extern const base::Feature kMaterialDesignExtensions; |
| 107 extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate; | 107 extern const base::Feature kAcknowledgeNtpOverrideOnDeactivate; |
| 108 #endif | 108 #endif |
| 109 | 109 |
| 110 extern const base::Feature kMaterialDesignIncognitoNTP; | 110 extern const base::Feature kMaterialDesignIncognitoNTP; |
| 111 | 111 |
| 112 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 112 #if !defined(OS_ANDROID) |
| 113 extern const base::Feature kMediaRemoting; | 113 extern const base::Feature kMediaRemoting; |
| 114 extern const base::Feature kMediaRouterUIRouteController; | 114 extern const base::Feature kMediaRouterUIRouteController; |
| 115 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 115 #endif |
| 116 | 116 |
| 117 extern const base::Feature kModalPermissionPrompts; | 117 extern const base::Feature kModalPermissionPrompts; |
| 118 | 118 |
| 119 #if defined(OS_WIN) | 119 #if defined(OS_WIN) |
| 120 extern const base::Feature kModuleDatabase; | 120 extern const base::Feature kModuleDatabase; |
| 121 #endif | 121 #endif |
| 122 | 122 |
| 123 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) | 123 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
| 124 extern const base::Feature kNativeNotifications; | 124 extern const base::Feature kNativeNotifications; |
| 125 #endif | 125 #endif |
| 126 | 126 |
| 127 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; | 127 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; |
| 128 | 128 |
| 129 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 129 #if !defined(OS_ANDROID) |
| 130 extern const base::Feature kOneGoogleBarOnLocalNtp; | 130 extern const base::Feature kOneGoogleBarOnLocalNtp; |
| 131 #endif | 131 #endif |
| 132 | 132 |
| 133 extern const base::Feature kPermissionsBlacklist; | 133 extern const base::Feature kPermissionsBlacklist; |
| 134 | 134 |
| 135 #if defined(OS_WIN) | 135 #if defined(OS_WIN) |
| 136 extern const base::Feature kDisablePostScriptPrinting; | 136 extern const base::Feature kDisablePostScriptPrinting; |
| 137 #endif | 137 #endif |
| 138 | 138 |
| 139 #if BUILDFLAG(ENABLE_PLUGINS) | 139 #if BUILDFLAG(ENABLE_PLUGINS) |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 extern const base::Feature kPageLoadMetricsMojofication; | 203 extern const base::Feature kPageLoadMetricsMojofication; |
| 204 | 204 |
| 205 bool PrefServiceEnabled(); | 205 bool PrefServiceEnabled(); |
| 206 | 206 |
| 207 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 207 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 208 // alphabetical order, or in one of the ifdefs (also in order in each section). | 208 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 209 | 209 |
| 210 } // namespace features | 210 } // namespace features |
| 211 | 211 |
| 212 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 212 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |