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

Unified Diff: ui/gfx/color_space.h

Issue 2877093002: color: Add command line flag to force output color space (Closed)
Patch Set: Fix windows again Created 3 years, 7 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 8626758f1ee4590054a8e28081227e259febd627..aaca2de3ab38dec94a97f2a0b3575b6eb75d99f2 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -42,6 +42,9 @@ class GFX_EXPORT ColorSpace {
SMPTEST432_1,
XYZ_D50,
ADOBE_RGB,
+ // Corresponds the the primaries of the "Generic RGB" profile used in the
+ // Apple ColorSync application, used by layout tests on Mac.
+ APPLE_GENERIC_RGB,
// Primaries defined by the primary matrix |custom_primary_matrix_|.
CUSTOM,
// For color spaces defined by an ICC profile which cannot be represented
@@ -54,6 +57,7 @@ class GFX_EXPORT ColorSpace {
enum class TransferID : uint8_t {
INVALID,
BT709,
+ GAMMA18,
GAMMA22,
GAMMA24,
GAMMA28,
« 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