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

Unified Diff: ui/gfx/color_space.h

Issue 2203663002: ColorTransform, transforms colors from one color space to another (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use floats Created 4 years, 4 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 | « ui/gfx/BUILD.gn ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index 4c669a4f149d454424f676080daeb13b6d929c5d..4ab4aa33a7d56c805336be41fd6e0114fac8a0ed 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -19,6 +19,7 @@ struct ParamTraits;
namespace gfx {
class ICCProfile;
+class ColorSpaceToColorSpaceTransform;
// Used to represet a color space for the purpose of color conversion.
// This is designed to be safe and compact enough to send over IPC
@@ -114,6 +115,7 @@ class GFX_EXPORT ColorSpace {
RangeID full_range);
static ColorSpace CreateSRGB();
+ static ColorSpace CreateXYZD50();
// TODO: Remove these, and replace with more generic constructors.
static ColorSpace CreateJpeg();
@@ -133,6 +135,7 @@ class GFX_EXPORT ColorSpace {
uint64_t icc_profile_id_ = 0;
friend class ICCProfile;
+ friend class ColorSpaceToColorSpaceTransform;
friend struct IPC::ParamTraits<gfx::ColorSpace>;
};
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/color_space.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698