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

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

Issue 2161293002: Color: Separate ICCProfile and ColorSpace structures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate review feedback 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 5a8927144c218b5d265e431d39a38b22319bdd2d..5c3fd35f6273a1a76d800200899d2a30364eeae3 100644
--- a/ui/gfx/ipc/color/gfx_param_traits_macros.h
+++ b/ui/gfx/ipc/color/gfx_param_traits_macros.h
@@ -9,11 +9,16 @@
#include "ipc/param_traits_macros.h"
#include "ipc/ipc_message_macros.h"
#include "ui/gfx/color_space.h"
+#include "ui/gfx/icc_profile.h"
#include "ui/gfx/ipc/color/gfx_ipc_color_export.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT GFX_IPC_COLOR_EXPORT
-IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::Type, gfx::ColorSpace::Type::LAST)
+IPC_STRUCT_TRAITS_BEGIN(gfx::ICCProfile)
+ IPC_STRUCT_TRAITS_MEMBER(valid_)
+ IPC_STRUCT_TRAITS_MEMBER(data_)
+ IPC_STRUCT_TRAITS_MEMBER(id_)
+IPC_STRUCT_TRAITS_END()
#endif // UI_GFX_IPC_COLOR_GFX_PARAM_TRAITS_MACROS_H_
« 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