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 10 matching lines...) Expand all Loading... |
21 | 21 |
22 #if defined(OS_ANDROID) | 22 #if defined(OS_ANDROID) |
23 extern const base::Feature kAllowAutoplayUnmutedInWebappManifestScope; | 23 extern const base::Feature kAllowAutoplayUnmutedInWebappManifestScope; |
24 #endif // defined(OS_ANDROID) | 24 #endif // defined(OS_ANDROID) |
25 | 25 |
26 #if defined(OS_MACOSX) | 26 #if defined(OS_MACOSX) |
27 extern const base::Feature kAppleScriptExecuteJavaScript; | 27 extern const base::Feature kAppleScriptExecuteJavaScript; |
28 extern const base::Feature kViewsTaskManager; | 28 extern const base::Feature kViewsTaskManager; |
29 #endif // defined(OS_MACOSX) | 29 #endif // defined(OS_MACOSX) |
30 | 30 |
| 31 #if !defined(OS_ANDROID) |
| 32 extern const base::Feature kAppBanners; |
| 33 #endif // !defined(OS_ANDROID) |
| 34 |
31 #if defined(OS_CHROMEOS) | 35 #if defined(OS_CHROMEOS) |
32 extern const base::Feature kArcMemoryManagement; | 36 extern const base::Feature kArcMemoryManagement; |
33 #endif // defined(OS_CHROMEOS) | 37 #endif // defined(OS_CHROMEOS) |
34 | 38 |
35 extern const base::Feature kAssetDownloadSuggestionsFeature; | 39 extern const base::Feature kAssetDownloadSuggestionsFeature; |
36 | 40 |
37 #if defined(OS_WIN) || defined(OS_MACOSX) | 41 #if defined(OS_WIN) || defined(OS_MACOSX) |
38 extern const base::Feature kAutomaticTabDiscarding; | 42 extern const base::Feature kAutomaticTabDiscarding; |
39 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 43 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
40 | 44 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 extern const base::Feature kPageLoadMetricsMojofication; | 207 extern const base::Feature kPageLoadMetricsMojofication; |
204 | 208 |
205 bool PrefServiceEnabled(); | 209 bool PrefServiceEnabled(); |
206 | 210 |
207 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 211 // 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). | 212 // alphabetical order, or in one of the ifdefs (also in order in each section). |
209 | 213 |
210 } // namespace features | 214 } // namespace features |
211 | 215 |
212 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 216 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |