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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 #if defined(OS_MACOSX) | 73 #if defined(OS_MACOSX) |
73 extern const base::Feature kNativeNotifications; | 74 extern const base::Feature kNativeNotifications; |
74 #endif // defined(OS_MACOSX) | 75 #endif // defined(OS_MACOSX) |
75 | 76 |
76 extern const base::Feature kOverrideYouTubeFlashEmbed; | 77 extern const base::Feature kOverrideYouTubeFlashEmbed; |
77 | 78 |
78 #if defined(ENABLE_PLUGINS) | 79 #if defined(ENABLE_PLUGINS) |
79 extern const base::Feature kPreferHtmlOverPlugins; | 80 extern const base::Feature kPreferHtmlOverPlugins; |
80 #endif | 81 #endif |
81 | 82 |
82 #if defined(ENABLE_PRINT_PREVIEW) | 83 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
83 extern const base::Feature kPrintScaling; | 84 extern const base::Feature kPrintScaling; |
84 #endif | 85 #endif |
85 | 86 |
86 extern const base::Feature kPushMessagingBackgroundMode; | 87 extern const base::Feature kPushMessagingBackgroundMode; |
87 | 88 |
88 #if defined(OS_CHROMEOS) | 89 #if defined(OS_CHROMEOS) |
89 extern const base::Feature kRuntimeMemoryLeakDetector; | 90 extern const base::Feature kRuntimeMemoryLeakDetector; |
90 #endif // defined(OS_CHROMEOS) | 91 #endif // defined(OS_CHROMEOS) |
91 | 92 |
92 #if defined(ENABLE_PLUGINS) | 93 #if defined(ENABLE_PLUGINS) |
(...skipping 21 matching lines...) Expand all Loading... |
114 | 115 |
115 extern const base::Feature kEHVInputOnImeMenu; | 116 extern const base::Feature kEHVInputOnImeMenu; |
116 #endif // defined(OS_CHROMEOS) | 117 #endif // defined(OS_CHROMEOS) |
117 | 118 |
118 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 119 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
119 // alphabetical order, or in one of the ifdefs (also in order in each section). | 120 // alphabetical order, or in one of the ifdefs (also in order in each section). |
120 | 121 |
121 } // namespace features | 122 } // namespace features |
122 | 123 |
123 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 124 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |