Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4753)

Unified Diff: chrome/common/chrome_features.cc

Issue 2375583004: [HBD] Add flag in about:flags for PPS on ALLOW mode. (Closed)
Patch Set: fix Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index 90879c4ff5c6ee0ecf749bae087082cad21a89df..14d9ffda44ad25e5f75d048961c8cfaa33cf33f5 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -108,10 +108,12 @@ const base::Feature kMaterialDesignHistory{
const base::Feature kMaterialDesignSettings{
"MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT};
+#if defined(ENABLE_PLUGINS)
// Prefer HTML content by hiding Flash from the list of plugins.
// https://crbug.com/626728
const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins",
base::FEATURE_DISABLED_BY_DEFAULT};
+#endif
#if defined(OS_CHROMEOS)
// Runtime flag that indicates whether this leak detector should be enabled in
@@ -120,6 +122,12 @@ const base::Feature kRuntimeMemoryLeakDetector{
"RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT};
#endif // defined(OS_CHROMEOS)
+#if defined(ENABLE_PLUGINS)
+// Disables Plugin Power Saver when Flash is in ALLOW mode.
+const base::Feature kRunAllFlashInAllowMode{"RunAllFlashInAllowMode",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+#endif
+
const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting",
base::FEATURE_DISABLED_BY_DEFAULT};
« no previous file with comments | « chrome/common/chrome_features.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698