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

Unified Diff: ui/gfx/icc_profile.h

Issue 2496913003: Display linear-srgb color managed canvas (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: ui/gfx/icc_profile.h
diff --git a/ui/gfx/icc_profile.h b/ui/gfx/icc_profile.h
index fd08ba8e68c9f58663fe69ca04b3235adefb1dac..527db6cd5871be0fad90627e4e8bd500e862c317 100644
--- a/ui/gfx/icc_profile.h
+++ b/ui/gfx/icc_profile.h
@@ -70,8 +70,12 @@ class GFX_EXPORT ICCProfile {
static bool CachedProfilesNeedUpdate();
#endif
+ // Set color correct rendering
+ static void SetColorCorrectRendering(bool color_correct_rendering);
+
private:
static bool IsValidProfileLength(size_t length);
+ static bool color_correct_rendering_;
bool valid_ = false;
std::vector<char> data_;
« cc/resources/resource.h ('K') | « ui/gfx/color_space.cc ('k') | ui/gfx/icc_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698