| 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 |
| 11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
| 12 #include "extensions/features/features.h" | 12 #include "extensions/features/features.h" |
| 13 #include "ppapi/features/features.h" | 13 #include "ppapi/features/features.h" |
| 14 #include "printing/features/features.h" | 14 #include "printing/features/features.h" |
| 15 | 15 |
| 16 namespace features { | 16 namespace features { |
| 17 | 17 |
| 18 // All features in alphabetical order. The features should be documented | 18 // All features in alphabetical order. The features should be documented |
| 19 // alongside the definition of their values in the .cc file. | 19 // alongside the definition of their values in the .cc file. |
| 20 | 20 |
| 21 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
| 22 extern const base::Feature kAllowAutoplayUnmutedInWebappManifestScope; | 22 extern const base::Feature kAllowAutoplayUnmutedInWebappManifestScope; |
| 23 #endif // defined(OS_ANDROID) | 23 #endif // defined(OS_ANDROID) |
| 24 | 24 |
| 25 #if defined(OS_MACOSX) | 25 #if defined(OS_MACOSX) |
| 26 extern const base::Feature kAppleScriptExecuteJavaScript; | 26 extern const base::Feature kAppleScriptExecuteJavaScript; |
| 27 extern const base::Feature kViewsTaskManager; |
| 27 #endif // defined(OS_MACOSX) | 28 #endif // defined(OS_MACOSX) |
| 28 | 29 |
| 29 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
| 30 extern const base::Feature kArcMemoryManagement; | 31 extern const base::Feature kArcMemoryManagement; |
| 31 #endif // defined(OS_CHROMEOS) | 32 #endif // defined(OS_CHROMEOS) |
| 32 | 33 |
| 33 extern const base::Feature kAssetDownloadSuggestionsFeature; | 34 extern const base::Feature kAssetDownloadSuggestionsFeature; |
| 34 | 35 |
| 35 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 36 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
| 36 extern const base::Feature kAutoDismissingDialogs; | 37 extern const base::Feature kAutoDismissingDialogs; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 168 |
| 168 extern const base::Feature kCrosCompUpdates; | 169 extern const base::Feature kCrosCompUpdates; |
| 169 #endif // defined(OS_CHROMEOS) | 170 #endif // defined(OS_CHROMEOS) |
| 170 | 171 |
| 171 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 172 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 172 // alphabetical order, or in one of the ifdefs (also in order in each section). | 173 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 173 | 174 |
| 174 } // namespace features | 175 } // namespace features |
| 175 | 176 |
| 176 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 177 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |