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

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

Issue 2663453002: Revert of Use SkICC in gfx::ICCProfile and gfx::ColorSpace (Closed)
Patch Set: Created 3 years, 11 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') | ui/gfx/mojo/OWNERS » ('j') | 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 7c1ba7c6da6b65041a2abaadd1b9310a441bd368..fcc824318915c2a0f81de63063ab8fc56fdb636a 100644
--- a/ui/gfx/ipc/color/gfx_param_traits_macros.h
+++ b/ui/gfx/ipc/color/gfx_param_traits_macros.h
@@ -24,6 +24,15 @@
IPC_ENUM_TRAITS_MAX_VALUE(gfx::ColorSpace::RangeID,
gfx::ColorSpace::RangeID::LAST);
+IPC_ENUM_TRAITS_MAX_VALUE(gfx::ICCProfile::Type, gfx::ICCProfile::Type::LAST);
+
+IPC_STRUCT_TRAITS_BEGIN(gfx::ICCProfile)
+ IPC_STRUCT_TRAITS_MEMBER(type_)
+ IPC_STRUCT_TRAITS_MEMBER(color_space_)
+ IPC_STRUCT_TRAITS_MEMBER(data_)
+ IPC_STRUCT_TRAITS_MEMBER(id_)
+IPC_STRUCT_TRAITS_END()
+
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT
« no previous file with comments | « ui/gfx/ipc/color/gfx_param_traits.cc ('k') | ui/gfx/mojo/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698