| 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 const base::Feature kPermissionsBlacklist{ | 160 const base::Feature kPermissionsBlacklist{ |
| 161 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; | 161 "PermissionsBlacklist", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 162 | 162 |
| 163 #if BUILDFLAG(ENABLE_PLUGINS) | 163 #if BUILDFLAG(ENABLE_PLUGINS) |
| 164 // Prefer HTML content by hiding Flash from the list of plugins. | 164 // Prefer HTML content by hiding Flash from the list of plugins. |
| 165 // https://crbug.com/626728 | 165 // https://crbug.com/626728 |
| 166 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", | 166 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
| 167 base::FEATURE_DISABLED_BY_DEFAULT}; | 167 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 168 #endif | 168 #endif |
| 169 | 169 |
| 170 #if defined(OS_CHROMEOS) |
| 171 // The lock screen will be preloaded so it is instantly available when the user |
| 172 // locks the Chromebook device. |
| 173 const base::Feature kPreloadLockScreen{"PreloadLockScreen", |
| 174 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 175 #endif |
| 176 |
| 170 // Enables the Print Scaling feature in print preview. | 177 // Enables the Print Scaling feature in print preview. |
| 171 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 178 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
| 172 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", | 179 const base::Feature kPrintPdfAsImage{"PrintPdfAsImage", |
| 173 base::FEATURE_DISABLED_BY_DEFAULT}; | 180 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 174 | 181 |
| 175 const base::Feature kPrintScaling{"PrintScaling", | 182 const base::Feature kPrintScaling{"PrintScaling", |
| 176 base::FEATURE_DISABLED_BY_DEFAULT}; | 183 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 177 #endif | 184 #endif |
| 178 | 185 |
| 179 // Enables or disables push subscriptions keeping Chrome running in the | 186 // Enables or disables push subscriptions keeping Chrome running in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 190 | 197 |
| 191 #if BUILDFLAG(ENABLE_PLUGINS) | 198 #if BUILDFLAG(ENABLE_PLUGINS) |
| 192 // Disables Plugin Power Saver when Flash is in ALLOW mode. | 199 // Disables Plugin Power Saver when Flash is in ALLOW mode. |
| 193 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", | 200 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", |
| 194 base::FEATURE_DISABLED_BY_DEFAULT}; | 201 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 195 #endif | 202 #endif |
| 196 | 203 |
| 197 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 204 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 198 base::FEATURE_DISABLED_BY_DEFAULT}; | 205 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 199 | 206 |
| 200 #if defined(OS_CHROMEOS) | |
| 201 // The lock screen will be preloaded and shared so it is instantly available | |
| 202 // when the user locks the Chromebook device. | |
| 203 const base::Feature kSharedLockScreen{"SharedLockScreen", | |
| 204 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 205 #endif | |
| 206 | |
| 207 // A new user experience for transitioning into fullscreen and mouse pointer | 207 // A new user experience for transitioning into fullscreen and mouse pointer |
| 208 // lock states. | 208 // lock states. |
| 209 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 209 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
| 210 base::FEATURE_ENABLED_BY_DEFAULT}; | 210 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 211 | 211 |
| 212 #if defined(SYZYASAN) | 212 #if defined(SYZYASAN) |
| 213 // Enable the deferred free mechanism in the syzyasan module, which helps the | 213 // Enable the deferred free mechanism in the syzyasan module, which helps the |
| 214 // performance by deferring some work on the critical path to a background | 214 // performance by deferring some work on the critical path to a background |
| 215 // thread. | 215 // thread. |
| 216 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 216 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 234 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 234 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 235 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 235 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 236 base::FEATURE_ENABLED_BY_DEFAULT}; | 236 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 237 | 237 |
| 238 // Enables or disables flash component updates on Chrome OS. | 238 // Enables or disables flash component updates on Chrome OS. |
| 239 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 239 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 240 base::FEATURE_DISABLED_BY_DEFAULT}; | 240 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 241 #endif // defined(OS_CHROMEOS) | 241 #endif // defined(OS_CHROMEOS) |
| 242 | 242 |
| 243 } // namespace features | 243 } // namespace features |
| OLD | NEW |