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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5a8927144c218b5d265e431d39a38b22319bdd2d |
--- /dev/null |
+++ b/ui/gfx/ipc/color/gfx_param_traits_macros.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_GFX_IPC_COLOR_GFX_PARAM_TRAITS_MACROS_H_ |
+#define UI_GFX_IPC_COLOR_GFX_PARAM_TRAITS_MACROS_H_ |
+ |
+#include "ipc/ipc_message_utils.h" |
+#include "ipc/param_traits_macros.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "ui/gfx/color_space.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) |
+ |
+#endif // UI_GFX_IPC_COLOR_GFX_PARAM_TRAITS_MACROS_H_ |