| 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 "printing/features/features.h" |
| 12 | 13 |
| 13 namespace features { | 14 namespace features { |
| 14 | 15 |
| 15 // All features in alphabetical order. The features should be documented | 16 // All features in alphabetical order. The features should be documented |
| 16 // alongside the definition of their values in the .cc file. | 17 // alongside the definition of their values in the .cc file. |
| 17 | 18 |
| 18 #if defined(OS_CHROMEOS) | 19 #if defined(OS_CHROMEOS) |
| 19 extern const base::Feature kArcMemoryManagement; | 20 extern const base::Feature kArcMemoryManagement; |
| 20 #endif // defined(OS_CHROMEOS) | 21 #endif // defined(OS_CHROMEOS) |
| 21 | 22 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 #if defined(OS_MACOSX) | 65 #if defined(OS_MACOSX) |
| 65 extern const base::Feature kNativeNotifications; | 66 extern const base::Feature kNativeNotifications; |
| 66 #endif // defined(OS_MACOSX) | 67 #endif // defined(OS_MACOSX) |
| 67 | 68 |
| 68 extern const base::Feature kOverrideYouTubeFlashEmbed; | 69 extern const base::Feature kOverrideYouTubeFlashEmbed; |
| 69 | 70 |
| 70 #if defined(ENABLE_PLUGINS) | 71 #if defined(ENABLE_PLUGINS) |
| 71 extern const base::Feature kPreferHtmlOverPlugins; | 72 extern const base::Feature kPreferHtmlOverPlugins; |
| 72 #endif | 73 #endif |
| 73 | 74 |
| 74 #if defined(ENABLE_PRINT_PREVIEW) | 75 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
| 75 extern const base::Feature kPrintScaling; | 76 extern const base::Feature kPrintScaling; |
| 76 #endif | 77 #endif |
| 77 | 78 |
| 78 extern const base::Feature kPushMessagingBackgroundMode; | 79 extern const base::Feature kPushMessagingBackgroundMode; |
| 79 | 80 |
| 80 #if defined(OS_CHROMEOS) | 81 #if defined(OS_CHROMEOS) |
| 81 extern const base::Feature kRuntimeMemoryLeakDetector; | 82 extern const base::Feature kRuntimeMemoryLeakDetector; |
| 82 #endif // defined(OS_CHROMEOS) | 83 #endif // defined(OS_CHROMEOS) |
| 83 | 84 |
| 84 #if defined(ENABLE_PLUGINS) | 85 #if defined(ENABLE_PLUGINS) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 106 | 107 |
| 107 extern const base::Feature kEHVInputOnImeMenu; | 108 extern const base::Feature kEHVInputOnImeMenu; |
| 108 #endif // defined(OS_CHROMEOS) | 109 #endif // defined(OS_CHROMEOS) |
| 109 | 110 |
| 110 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 111 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 111 // alphabetical order, or in one of the ifdefs (also in order in each section). | 112 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 112 | 113 |
| 113 } // namespace features | 114 } // namespace features |
| 114 | 115 |
| 115 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 116 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |