| 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 "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/common/chrome_switches.h" | 8 #include "chrome/common/chrome_switches.h" |
| 9 #include "extensions/features/features.h" | 9 #include "extensions/features/features.h" |
| 10 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 #endif | 293 #endif |
| 294 | 294 |
| 295 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 295 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 296 base::FEATURE_DISABLED_BY_DEFAULT}; | 296 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 297 | 297 |
| 298 // A new user experience for transitioning into fullscreen and mouse pointer | 298 // A new user experience for transitioning into fullscreen and mouse pointer |
| 299 // lock states. | 299 // lock states. |
| 300 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 300 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
| 301 base::FEATURE_ENABLED_BY_DEFAULT}; | 301 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 302 | 302 |
| 303 // Enables or disables UI in MD Settings to view content settings grouped by |
| 304 // origin. |
| 305 const base::Feature kSiteDetails{"SiteDetails", |
| 306 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 307 |
| 303 #if defined(SYZYASAN) | 308 #if defined(SYZYASAN) |
| 304 // Enable the deferred free mechanism in the syzyasan module, which helps the | 309 // Enable the deferred free mechanism in the syzyasan module, which helps the |
| 305 // performance by deferring some work on the critical path to a background | 310 // performance by deferring some work on the critical path to a background |
| 306 // thread. | 311 // thread. |
| 307 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", | 312 const base::Feature kSyzyasanDeferredFree{"SyzyasanDeferredFree", |
| 308 base::FEATURE_ENABLED_BY_DEFAULT}; | 313 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 309 #endif | 314 #endif |
| 310 | 315 |
| 311 // Experiment to use grouped permission infobars which could show and handle | 316 // Experiment to use grouped permission infobars which could show and handle |
| 312 // multiple permission requests. | 317 // multiple permission requests. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 return base::FeatureList::IsEnabled(features::kPrefService) || | 357 return base::FeatureList::IsEnabled(features::kPrefService) || |
| 353 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) | 358 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
| 354 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( | 359 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
| 355 switches::kMusConfig) == switches::kMash; | 360 switches::kMusConfig) == switches::kMash; |
| 356 #else | 361 #else |
| 357 false; | 362 false; |
| 358 #endif | 363 #endif |
| 359 } | 364 } |
| 360 | 365 |
| 361 } // namespace features | 366 } // namespace features |
| OLD | NEW |