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