| 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 #include "chrome/common/chrome_features.h" | 5 #include "chrome/common/chrome_features.h" |
| 6 | 6 |
| 7 #include "extensions/features/features.h" | 7 #include "extensions/features/features.h" |
| 8 #include "ppapi/features/features.h" | 8 #include "ppapi/features/features.h" |
| 9 | 9 |
| 10 namespace features { | 10 namespace features { |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 base::FEATURE_DISABLED_BY_DEFAULT}; | 208 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 209 #endif // OS_WIN | 209 #endif // OS_WIN |
| 210 | 210 |
| 211 #if BUILDFLAG(ENABLE_PLUGINS) | 211 #if BUILDFLAG(ENABLE_PLUGINS) |
| 212 // Prefer HTML content by hiding Flash from the list of plugins. | 212 // Prefer HTML content by hiding Flash from the list of plugins. |
| 213 // https://crbug.com/626728 | 213 // https://crbug.com/626728 |
| 214 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", | 214 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
| 215 base::FEATURE_DISABLED_BY_DEFAULT}; | 215 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 216 #endif | 216 #endif |
| 217 | 217 |
| 218 // Enables the pref service. See https://crbug.com/654988. |
| 219 const base::Feature kPrefService{"PrefService", |
| 220 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 221 |
| 218 #if defined(OS_CHROMEOS) | 222 #if defined(OS_CHROMEOS) |
| 219 // The lock screen will be preloaded so it is instantly available when the user | 223 // The lock screen will be preloaded so it is instantly available when the user |
| 220 // locks the Chromebook device. | 224 // locks the Chromebook device. |
| 221 const base::Feature kPreloadLockScreen{"PreloadLockScreen", | 225 const base::Feature kPreloadLockScreen{"PreloadLockScreen", |
| 222 base::FEATURE_ENABLED_BY_DEFAULT}; | 226 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 223 #endif | 227 #endif |
| 224 | 228 |
| 225 // Enables the Print Scaling feature in print preview. | 229 // Enables the Print Scaling feature in print preview. |
| 226 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 230 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
| 227 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", | 231 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 290 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 287 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 291 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 288 base::FEATURE_ENABLED_BY_DEFAULT}; | 292 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 289 | 293 |
| 290 // Enables or disables flash component updates on Chrome OS. | 294 // Enables or disables flash component updates on Chrome OS. |
| 291 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 295 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 292 base::FEATURE_ENABLED_BY_DEFAULT}; | 296 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 293 #endif // defined(OS_CHROMEOS) | 297 #endif // defined(OS_CHROMEOS) |
| 294 | 298 |
| 295 } // namespace features | 299 } // namespace features |
| OLD | NEW |