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

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

Issue 2150013003: Add IPC support for gfx::ColorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try 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') | ui/gfx/ipc/geometry/gfx_param_traits.cc » ('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
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_
« no previous file with comments | « ui/gfx/ipc/color/gfx_param_traits.cc ('k') | ui/gfx/ipc/geometry/gfx_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698