Chromium Code Reviews| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 125 #if defined(OS_WIN) | 125 #if defined(OS_WIN) |
| 126 extern const base::Feature kModuleDatabase; | 126 extern const base::Feature kModuleDatabase; |
| 127 #endif | 127 #endif |
| 128 | 128 |
| 129 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) | 129 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
| 130 extern const base::Feature kNativeNotifications; | 130 extern const base::Feature kNativeNotifications; |
| 131 #endif | 131 #endif |
| 132 | 132 |
| 133 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; | 133 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; |
| 134 | 134 |
| 135 extern const base::Feature kOneGoogleBarOnLocalNtp; | |
|
sfiera
2017/05/11 10:39:22
This feature will now be exposed to Android, won't
Marc Treib
2017/05/11 11:39:54
Yes, good catch!
| |
| 136 | |
| 135 extern const base::Feature kPermissionsBlacklist; | 137 extern const base::Feature kPermissionsBlacklist; |
| 136 | 138 |
| 137 #if defined(OS_WIN) | 139 #if defined(OS_WIN) |
| 138 extern const base::Feature kDisablePostScriptPrinting; | 140 extern const base::Feature kDisablePostScriptPrinting; |
| 139 #endif | 141 #endif |
| 140 | 142 |
| 141 #if BUILDFLAG(ENABLE_PLUGINS) | 143 #if BUILDFLAG(ENABLE_PLUGINS) |
| 142 extern const base::Feature kPreferHtmlOverPlugins; | 144 extern const base::Feature kPreferHtmlOverPlugins; |
| 143 #endif | 145 #endif |
| 144 | 146 |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 167 extern const base::Feature kSimplifiedFullscreenUI; | 169 extern const base::Feature kSimplifiedFullscreenUI; |
| 168 | 170 |
| 169 extern const base::Feature kSiteDetails; | 171 extern const base::Feature kSiteDetails; |
| 170 | 172 |
| 171 #if defined(SYZYASAN) | 173 #if defined(SYZYASAN) |
| 172 extern const base::Feature kSyzyasanDeferredFree; | 174 extern const base::Feature kSyzyasanDeferredFree; |
| 173 #endif | 175 #endif |
| 174 | 176 |
| 175 extern const base::Feature kTabsInCbd; | 177 extern const base::Feature kTabsInCbd; |
| 176 | 178 |
| 179 extern const base::Feature kUseGoogleLocalNtp; | |
| 180 | |
| 177 extern const base::Feature kUseGroupedPermissionInfobars; | 181 extern const base::Feature kUseGroupedPermissionInfobars; |
| 178 | 182 |
| 179 extern const base::Feature kUsePermissionManagerForMediaRequests; | 183 extern const base::Feature kUsePermissionManagerForMediaRequests; |
| 180 | 184 |
| 181 #if defined(OS_CHROMEOS) | 185 #if defined(OS_CHROMEOS) |
| 182 extern const base::Feature kOptInImeMenu; | 186 extern const base::Feature kOptInImeMenu; |
| 183 | 187 |
| 184 extern const base::Feature kQuickUnlockPin; | 188 extern const base::Feature kQuickUnlockPin; |
| 185 | 189 |
| 186 extern const base::Feature kQuickUnlockPinSignin; | 190 extern const base::Feature kQuickUnlockPinSignin; |
| 187 | 191 |
| 188 extern const base::Feature kQuickUnlockFingerprint; | 192 extern const base::Feature kQuickUnlockFingerprint; |
| 189 | 193 |
| 190 extern const base::Feature kEHVInputOnImeMenu; | 194 extern const base::Feature kEHVInputOnImeMenu; |
| 191 | 195 |
| 192 extern const base::Feature kCrosCompUpdates; | 196 extern const base::Feature kCrosCompUpdates; |
| 193 | 197 |
| 194 extern const base::Feature kCrOSComponent; | 198 extern const base::Feature kCrOSComponent; |
| 195 #endif // defined(OS_CHROMEOS) | 199 #endif // defined(OS_CHROMEOS) |
| 196 | 200 |
| 197 bool PrefServiceEnabled(); | 201 bool PrefServiceEnabled(); |
| 198 | 202 |
| 199 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 203 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 200 // alphabetical order, or in one of the ifdefs (also in order in each section). | 204 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 201 | 205 |
| 202 } // namespace features | 206 } // namespace features |
| 203 | 207 |
| 204 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 208 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |