| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 | 304 |
| 305 #if BUILDFLAG(ENABLE_PLUGINS) | 305 #if BUILDFLAG(ENABLE_PLUGINS) |
| 306 // Disables Plugin Power Saver when Flash is in ALLOW mode. | 306 // Disables Plugin Power Saver when Flash is in ALLOW mode. |
| 307 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", | 307 const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode", |
| 308 base::FEATURE_DISABLED_BY_DEFAULT}; | 308 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 309 #endif | 309 #endif |
| 310 | 310 |
| 311 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 311 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| 312 base::FEATURE_DISABLED_BY_DEFAULT}; | 312 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 313 | 313 |
| 314 // Enables separate notification channels in Android O for notifications from |
| 315 // different origins, instead of sending them all to a single 'Sites' channel. |
| 316 const base::Feature kSiteNotificationChannels{ |
| 317 "SiteNotificationChannels", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 318 |
| 314 // A new user experience for transitioning into fullscreen and mouse pointer | 319 // A new user experience for transitioning into fullscreen and mouse pointer |
| 315 // lock states. | 320 // lock states. |
| 316 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", | 321 const base::Feature kSimplifiedFullscreenUI{"ViewsSimplifiedFullscreenUI", |
| 317 base::FEATURE_ENABLED_BY_DEFAULT}; | 322 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 318 | 323 |
| 319 // Enables or disables UI in MD Settings to view content settings grouped by | 324 // Enables or disables UI in MD Settings to view content settings grouped by |
| 320 // origin. | 325 // origin. |
| 321 const base::Feature kSiteDetails{"SiteDetails", | 326 const base::Feature kSiteDetails{"SiteDetails", |
| 322 base::FEATURE_DISABLED_BY_DEFAULT}; | 327 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 323 | 328 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 return base::FeatureList::IsEnabled(features::kPrefService) || | 382 return base::FeatureList::IsEnabled(features::kPrefService) || |
| 378 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) | 383 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
| 379 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( | 384 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
| 380 switches::kMusConfig) == switches::kMash; | 385 switches::kMusConfig) == switches::kMash; |
| 381 #else | 386 #else |
| 382 false; | 387 false; |
| 383 #endif | 388 #endif |
| 384 } | 389 } |
| 385 | 390 |
| 386 } // namespace features | 391 } // namespace features |
| OLD | NEW |