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

Unified Diff: ui/gfx/ipc/color/gfx_param_traits_macros.h

Issue 2183953002: Add some actual data to gfx::ColorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix LAST Created 4 years, 5 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/ipc/color/gfx_param_traits.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ipc/color/gfx_param_traits_macros.h
diff --git a/ui/gfx/ipc/color/gfx_param_traits_macros.h b/ui/gfx/ipc/color/gfx_param_traits_macros.h
index 5c3fd35f6273a1a76d800200899d2a30364eeae3..1a73a7d481acab77c84a2728fef91a2ec0b4b05d 100644
--- a/ui/gfx/ipc/color/gfx_param_traits_macros.h
+++ b/ui/gfx/ipc/color/gfx_param_traits_macros.h
@@ -15,6 +15,15 @@
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT GFX_IPC_COLOR_EXPORT
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::PrimaryID,
+ gfx::ColorSpace::PrimaryID::LAST);
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::TransferID,
+ gfx::ColorSpace::TransferID::LAST);
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::MatrixID,
+ gfx::ColorSpace::MatrixID::LAST);
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::RangeID,
+ gfx::ColorSpace::RangeID::LAST);
+
IPC_STRUCT_TRAITS_BEGIN(gfx::ICCProfile)
IPC_STRUCT_TRAITS_MEMBER(valid_)
IPC_STRUCT_TRAITS_MEMBER(data_)
« no previous file with comments | « ui/gfx/ipc/color/gfx_param_traits.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698