| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 // If enabled, the list of content suggestions on the New Tab page will contain | 161 // If enabled, the list of content suggestions on the New Tab page will contain |
| 162 // pages that the user downloaded for later use. | 162 // pages that the user downloaded for later use. |
| 163 const base::Feature kOfflinePageDownloadSuggestionsFeature{ | 163 const base::Feature kOfflinePageDownloadSuggestionsFeature{ |
| 164 "NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; | 164 "NTPOfflinePageDownloadSuggestions", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 165 | 165 |
| 166 // Enables YouTube Flash videos to be overridden. | 166 // Enables YouTube Flash videos to be overridden. |
| 167 const base::Feature kOverrideYouTubeFlashEmbed{ | 167 const base::Feature kOverrideYouTubeFlashEmbed{ |
| 168 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; | 168 "OverrideYouTubeFlashEmbed", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 169 | 169 |
| 170 const base::Feature kParallelDownloading{ |
| 171 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 172 |
| 170 // Enables Permissions Blacklisting via Safe Browsing. | 173 // Enables Permissions Blacklisting via Safe Browsing. |
| 171 const base::Feature kPermissionsBlacklist{ | 174 const base::Feature kPermissionsBlacklist{ |
| 172 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; | 175 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 173 | 176 |
| 174 #if BUILDFLAG(ENABLE_PLUGINS) | 177 #if BUILDFLAG(ENABLE_PLUGINS) |
| 175 // Prefer HTML content by hiding Flash from the list of plugins. | 178 // Prefer HTML content by hiding Flash from the list of plugins. |
| 176 // https://crbug.com/626728 | 179 // https://crbug.com/626728 |
| 177 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", | 180 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
| 178 base::FEATURE_DISABLED_BY_DEFAULT}; | 181 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 179 #endif | 182 #endif |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 248 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 246 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 249 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 247 base::FEATURE_ENABLED_BY_DEFAULT}; | 250 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 248 | 251 |
| 249 // Enables or disables flash component updates on Chrome OS. | 252 // Enables or disables flash component updates on Chrome OS. |
| 250 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 253 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 251 base::FEATURE_ENABLED_BY_DEFAULT}; | 254 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 252 #endif // defined(OS_CHROMEOS) | 255 #endif // defined(OS_CHROMEOS) |
| 253 | 256 |
| 254 } // namespace features | 257 } // namespace features |
| OLD | NEW |