| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 #if BUILDFLAG(ENABLE_PLUGINS) | 188 #if BUILDFLAG(ENABLE_PLUGINS) |
| 189 // Disables Plugin Power Saver when Flash is in ALLOW mode. | 189 // Disables Plugin Power Saver when Flash is in ALLOW mode. |
| 190 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", | 190 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", |
| 191 base::FEATURE_DISABLED_BY_DEFAULT}; | 191 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 192 #endif | 192 #endif |
| 193 | 193 |
| 194 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 194 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 195 base::FEATURE_DISABLED_BY_DEFAULT}; | 195 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 196 | 196 |
| 197 #if !defined(OS_ANDROID) && !defined(OS_IOS) | |
| 198 // Sets the visibility and animation of the security chip. | |
| 199 const base::Feature kSecurityChip{"SecurityChip", | |
| 200 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 201 #endif | |
| 202 | |
| 203 // A new user experience for transitioning into fullscreen and mouse pointer | 197 // A new user experience for transitioning into fullscreen and mouse pointer |
| 204 // lock states. | 198 // lock states. |
| 205 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 199 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
| 206 base::FEATURE_ENABLED_BY_DEFAULT}; | 200 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 207 | 201 |
| 208 #if defined(SYZYASAN) | 202 #if defined(SYZYASAN) |
| 209 // Enable the deferred free mechanism in the syzyasan module, which helps the | 203 // Enable the deferred free mechanism in the syzyasan module, which helps the |
| 210 // performance by deferring some work on the critical path to a background | 204 // performance by deferring some work on the critical path to a background |
| 211 // thread. | 205 // thread. |
| 212 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 206 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 234 // Enables or disables flash component updates on Chrome OS. | 228 // Enables or disables flash component updates on Chrome OS. |
| 235 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 229 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 236 base::FEATURE_DISABLED_BY_DEFAULT}; | 230 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 237 | 231 |
| 238 // Enable or disable using only the component flash plugin on Chrome OS. | 232 // Enable or disable using only the component flash plugin on Chrome OS. |
| 239 const base::Feature kComponentFlashOnly{"ComponentFlashOnly", | 233 const base::Feature kComponentFlashOnly{"ComponentFlashOnly", |
| 240 base::FEATURE_DISABLED_BY_DEFAULT}; | 234 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 241 #endif // defined(OS_CHROMEOS) | 235 #endif // defined(OS_CHROMEOS) |
| 242 | 236 |
| 243 } // namespace features | 237 } // namespace features |
| OLD | NEW |