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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 #if BUILDFLAG(ENABLE_PLUGINS) | 149 #if BUILDFLAG(ENABLE_PLUGINS) |
150 extern const base::Feature kPreferHtmlOverPlugins; | 150 extern const base::Feature kPreferHtmlOverPlugins; |
151 #endif | 151 #endif |
152 | 152 |
153 extern const base::Feature kPrefService; | 153 extern const base::Feature kPrefService; |
154 | 154 |
155 #if defined(OS_CHROMEOS) | 155 #if defined(OS_CHROMEOS) |
156 extern const base::Feature kPreloadLockScreen; | 156 extern const base::Feature kPreloadLockScreen; |
157 #endif | 157 #endif |
158 | 158 |
159 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 159 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) && !defined(OS_WIN) && !defined(OS_MACOSX) |
160 extern const base::Feature kPrintPdfAsImage; | 160 extern const base::Feature kPrintPdfAsImage; |
161 #endif | 161 #endif |
162 | 162 |
163 extern const base::Feature kPushMessagingBackgroundMode; | 163 extern const base::Feature kPushMessagingBackgroundMode; |
164 | 164 |
165 #if defined(OS_CHROMEOS) | 165 #if defined(OS_CHROMEOS) |
166 extern const base::Feature kRuntimeMemoryLeakDetector; | 166 extern const base::Feature kRuntimeMemoryLeakDetector; |
167 #endif // defined(OS_CHROMEOS) | 167 #endif // defined(OS_CHROMEOS) |
168 | 168 |
169 #if BUILDFLAG(ENABLE_PLUGINS) | 169 #if BUILDFLAG(ENABLE_PLUGINS) |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 #endif // defined(OS_CHROMEOS) | 205 #endif // defined(OS_CHROMEOS) |
206 | 206 |
207 bool PrefServiceEnabled(); | 207 bool PrefServiceEnabled(); |
208 | 208 |
209 // 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 |
210 // 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). |
211 | 211 |
212 } // namespace features | 212 } // namespace features |
213 | 213 |
214 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 214 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |