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

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

Issue 2522693002: Color correct ImageBitmap(HTMLImageElement*) constructor (Closed)
Patch Set: Rebaseline Created 4 years 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_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 41c227fa072945dda3fe86440f28d13d69357858..ba1329c924999b2fb043f56f2f099196a3321f26 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -351,6 +351,14 @@ const char kEnableBlinkFeatures[] = "enable-blink-features";
// PlzNavigate: Use the experimental browser-side navigation path.
const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
+// Changes the behavior of the "default" color space conversion mode in
+// createImageBitmap. When enabled without kEnableColorCorrectRendering or
+// kEnableTrueColorRendering flags, "default" means color correct the image
+// bitmap to the display color space.
+const char kEnableColorCorrectRenderingDefaultMode[] =
+ "enable-color-correct-rendering-default-mode";
+
+
// Enables display list based 2d canvas implementation. Options:
// 1. Enable: allow browser to use display list for 2d canvas (browser makes
// decision).

Powered by Google App Engine
This is Rietveld 408576698