OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Singly or multiply-included shared traits file depending upon circumstances. |
| 6 // This allows the use of IPC serialization macros in more than one IPC message |
| 7 // file. |
| 8 #ifndef UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ |
| 9 #define UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ |
| 10 |
| 11 #include "ui/gfx/buffer_types.h" |
| 12 #include "ui/gfx/ipc/gfx_ipc_export.h" |
| 13 #include "ipc/ipc_message_macros.h" |
| 14 |
| 15 #undef IPC_MESSAGE_EXPORT |
| 16 #define IPC_MESSAGE_EXPORT GFX_IPC_EXPORT |
| 17 |
| 18 IPC_ENUM_TRAITS_MAX_VALUE(gfx::BufferFormat, gfx::BufferFormat::LAST) |
| 19 |
| 20 IPC_ENUM_TRAITS_MAX_VALUE(gfx::BufferUsage, gfx::BufferUsage::LAST) |
| 21 |
| 22 #undef IPC_MESSAGE_EXPORT |
| 23 #define IPC_MESSAGE_EXPORT |
| 24 |
| 25 #endif // UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ |
OLD | NEW |