| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 // If enabled, the list of content suggestions on the New Tab page will contain | 205 // If enabled, the list of content suggestions on the New Tab page will contain |
| 206 // pages that the user downloaded for later use. | 206 // pages that the user downloaded for later use. |
| 207 const base::Feature kOfflinePageDownloadSuggestionsFeature{ | 207 const base::Feature kOfflinePageDownloadSuggestionsFeature{ |
| 208 "NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; | 208 "NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 209 | 209 |
| 210 // Enables Permissions Blacklisting via Safe Browsing. | 210 // Enables Permissions Blacklisting via Safe Browsing. |
| 211 const base::Feature kPermissionsBlacklist{ | 211 const base::Feature kPermissionsBlacklist{ |
| 212 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; | 212 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 213 | 213 |
| 214 // Enables postscript generation instead of emf when printing to postscript | 214 // Enables PostScript generation instead of EMF when printing to PostScript |
| 215 // capable printers. | 215 // capable printers. |
| 216 #if defined(OS_WIN) | 216 #if defined(OS_WIN) |
| 217 const base::Feature kPostScriptPrinting{"PostScriptPrinting", | 217 const base::Feature kPostScriptPrinting{"PostScriptPrinting", |
| 218 base::FEATURE_DISABLED_BY_DEFAULT}; | 218 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 219 #endif // OS_WIN | 219 #endif |
| 220 | 220 |
| 221 #if BUILDFLAG(ENABLE_PLUGINS) | 221 #if BUILDFLAG(ENABLE_PLUGINS) |
| 222 // Prefer HTML content by hiding Flash from the list of plugins. | 222 // Prefer HTML content by hiding Flash from the list of plugins. |
| 223 // https://crbug.com/626728 | 223 // https://crbug.com/626728 |
| 224 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", | 224 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
| 225 base::FEATURE_DISABLED_BY_DEFAULT}; | 225 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 226 #endif | 226 #endif |
| 227 | 227 |
| 228 // Enables the pref service. See https://crbug.com/654988. | 228 // Enables the pref service. See https://crbug.com/654988. |
| 229 const base::Feature kPrefService{"PrefService", | 229 const base::Feature kPrefService{"PrefService", |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 300 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 301 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 301 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 302 base::FEATURE_ENABLED_BY_DEFAULT}; | 302 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 303 | 303 |
| 304 // Enables or disables flash component updates on Chrome OS. | 304 // Enables or disables flash component updates on Chrome OS. |
| 305 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 305 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 306 base::FEATURE_ENABLED_BY_DEFAULT}; | 306 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 307 #endif // defined(OS_CHROMEOS) | 307 #endif // defined(OS_CHROMEOS) |
| 308 | 308 |
| 309 } // namespace features | 309 } // namespace features |
| OLD | NEW |