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

Unified Diff: content/public/common/content_features.cc

Issue 2468323002: Enable compositing opaque fixed position elements which will maintain LCD text. (Closed)
Patch Set: Created 4 years, 1 month 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
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 3f969f5d283c970e6094cd0e80d17f46506bbb6a..8f8336986a0e93d6525a822cdc3782dc21db125c 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -24,6 +24,11 @@ const base::Feature kBrotliEncoding{"brotli-encoding",
const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium",
base::FEATURE_ENABLED_BY_DEFAULT};
+// Enables the compositing of fixed position content that is opaque and can
+// preserve LCD text.
+const base::Feature kCompositeOpaqueFixedPosition{
+ "CompositeOpaqueFixedPosition", base::FEATURE_ENABLED_BY_DEFAULT};
+
// Enables the compositing of scrolling content that supports painting the
// background with the foreground, such that LCD text will still be enabled.
const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers",
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698