| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 const base::Feature kOverrideYouTubeFlashEmbed{ | 173 const base::Feature kOverrideYouTubeFlashEmbed{ |
| 174 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; | 174 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 175 | 175 |
| 176 const base::Feature kParallelDownloading{ | 176 const base::Feature kParallelDownloading{ |
| 177 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; | 177 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 178 | 178 |
| 179 // Enables Permissions Blacklisting via Safe Browsing. | 179 // Enables Permissions Blacklisting via Safe Browsing. |
| 180 const base::Feature kPermissionsBlacklist{ | 180 const base::Feature kPermissionsBlacklist{ |
| 181 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; | 181 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 182 | 182 |
| 183 // Enables postscript generation instead of emf when printing to postscript |
| 184 // capable printers. |
| 185 #if defined(OS_WIN) |
| 186 const base::Feature kPostScriptPrinting{"PostScriptPrinting", |
| 187 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 188 #endif // OS_WIN |
| 189 |
| 183 #if BUILDFLAG(ENABLE_PLUGINS) | 190 #if BUILDFLAG(ENABLE_PLUGINS) |
| 184 // Prefer HTML content by hiding Flash from the list of plugins. | 191 // Prefer HTML content by hiding Flash from the list of plugins. |
| 185 // https://crbug.com/626728 | 192 // https://crbug.com/626728 |
| 186 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", | 193 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
| 187 base::FEATURE_DISABLED_BY_DEFAULT}; | 194 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 188 #endif | 195 #endif |
| 189 | 196 |
| 190 #if defined(OS_CHROMEOS) | 197 #if defined(OS_CHROMEOS) |
| 191 // The lock screen will be preloaded so it is instantly available when the user | 198 // The lock screen will be preloaded so it is instantly available when the user |
| 192 // locks the Chromebook device. | 199 // locks the Chromebook device. |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 265 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 259 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 266 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 260 base::FEATURE_ENABLED_BY_DEFAULT}; | 267 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 261 | 268 |
| 262 // Enables or disables flash component updates on Chrome OS. | 269 // Enables or disables flash component updates on Chrome OS. |
| 263 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 270 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 264 base::FEATURE_ENABLED_BY_DEFAULT}; | 271 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 265 #endif // defined(OS_CHROMEOS) | 272 #endif // defined(OS_CHROMEOS) |
| 266 | 273 |
| 267 } // namespace features | 274 } // namespace features |
| OLD | NEW |