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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 #if defined(OS_WIN) | 129 #if defined(OS_WIN) |
130 extern const base::Feature kModuleDatabase; | 130 extern const base::Feature kModuleDatabase; |
131 #endif | 131 #endif |
132 | 132 |
133 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) | 133 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
134 extern const base::Feature kNativeNotifications; | 134 extern const base::Feature kNativeNotifications; |
135 #endif | 135 #endif |
136 | 136 |
137 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; | 137 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; |
138 | 138 |
| 139 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 140 extern const base::Feature kOneGoogleBarOnLocalNtp; |
| 141 #endif |
| 142 |
139 extern const base::Feature kPermissionsBlacklist; | 143 extern const base::Feature kPermissionsBlacklist; |
140 | 144 |
141 #if defined(OS_WIN) | 145 #if defined(OS_WIN) |
142 extern const base::Feature kDisablePostScriptPrinting; | 146 extern const base::Feature kDisablePostScriptPrinting; |
143 #endif | 147 #endif |
144 | 148 |
145 #if BUILDFLAG(ENABLE_PLUGINS) | 149 #if BUILDFLAG(ENABLE_PLUGINS) |
146 extern const base::Feature kPreferHtmlOverPlugins; | 150 extern const base::Feature kPreferHtmlOverPlugins; |
147 #endif | 151 #endif |
148 | 152 |
(...skipping 22 matching lines...) Expand all Loading... |
171 extern const base::Feature kSimplifiedFullscreenUI; | 175 extern const base::Feature kSimplifiedFullscreenUI; |
172 | 176 |
173 extern const base::Feature kSiteDetails; | 177 extern const base::Feature kSiteDetails; |
174 | 178 |
175 #if defined(SYZYASAN) | 179 #if defined(SYZYASAN) |
176 extern const base::Feature kSyzyasanDeferredFree; | 180 extern const base::Feature kSyzyasanDeferredFree; |
177 #endif | 181 #endif |
178 | 182 |
179 extern const base::Feature kTabsInCbd; | 183 extern const base::Feature kTabsInCbd; |
180 | 184 |
| 185 extern const base::Feature kUseGoogleLocalNtp; |
| 186 |
181 extern const base::Feature kUseGroupedPermissionInfobars; | 187 extern const base::Feature kUseGroupedPermissionInfobars; |
182 | 188 |
183 extern const base::Feature kUsePermissionManagerForMediaRequests; | 189 extern const base::Feature kUsePermissionManagerForMediaRequests; |
184 | 190 |
185 #if defined(OS_CHROMEOS) | 191 #if defined(OS_CHROMEOS) |
186 extern const base::Feature kOptInImeMenu; | 192 extern const base::Feature kOptInImeMenu; |
187 | 193 |
188 extern const base::Feature kQuickUnlockPin; | 194 extern const base::Feature kQuickUnlockPin; |
189 | 195 |
190 extern const base::Feature kQuickUnlockPinSignin; | 196 extern const base::Feature kQuickUnlockPinSignin; |
191 | 197 |
192 extern const base::Feature kQuickUnlockFingerprint; | 198 extern const base::Feature kQuickUnlockFingerprint; |
193 | 199 |
194 extern const base::Feature kEHVInputOnImeMenu; | 200 extern const base::Feature kEHVInputOnImeMenu; |
195 | 201 |
196 extern const base::Feature kCrosCompUpdates; | 202 extern const base::Feature kCrosCompUpdates; |
197 | 203 |
198 extern const base::Feature kCrOSComponent; | 204 extern const base::Feature kCrOSComponent; |
199 #endif // defined(OS_CHROMEOS) | 205 #endif // defined(OS_CHROMEOS) |
200 | 206 |
201 bool PrefServiceEnabled(); | 207 bool PrefServiceEnabled(); |
202 | 208 |
203 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 209 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
204 // alphabetical order, or in one of the ifdefs (also in order in each section). | 210 // alphabetical order, or in one of the ifdefs (also in order in each section). |
205 | 211 |
206 } // namespace features | 212 } // namespace features |
207 | 213 |
208 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 214 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |