| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Singly or multiply-included shared traits file depending upon circumstances. | 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 | 6 // This allows the use of IPC serialization macros in more than one IPC message |
| 7 // file. | 7 // file. |
| 8 #ifndef UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ | 8 #ifndef UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ |
| 9 #define UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ | 9 #define UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 IPC_STRUCT_TRAITS_END() | 60 IPC_STRUCT_TRAITS_END() |
| 61 | 61 |
| 62 IPC_STRUCT_TRAITS_BEGIN(gfx::NativePixmapHandle) | 62 IPC_STRUCT_TRAITS_BEGIN(gfx::NativePixmapHandle) |
| 63 IPC_STRUCT_TRAITS_MEMBER(fds) | 63 IPC_STRUCT_TRAITS_MEMBER(fds) |
| 64 IPC_STRUCT_TRAITS_MEMBER(planes) | 64 IPC_STRUCT_TRAITS_MEMBER(planes) |
| 65 IPC_STRUCT_TRAITS_END() | 65 IPC_STRUCT_TRAITS_END() |
| 66 #endif | 66 #endif |
| 67 | 67 |
| 68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuFenceHandle) | 68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuFenceHandle) |
| 69 IPC_STRUCT_TRAITS_MEMBER(shared_event_handle) | 69 IPC_STRUCT_TRAITS_MEMBER(shared_event_handle) |
| 70 #if defined(OS_LINUX) |
| 71 IPC_STRUCT_TRAITS_MEMBER(fd) |
| 72 #endif |
| 70 IPC_STRUCT_TRAITS_END() | 73 IPC_STRUCT_TRAITS_END() |
| 71 | 74 |
| 72 #undef IPC_MESSAGE_EXPORT | 75 #undef IPC_MESSAGE_EXPORT |
| 73 #define IPC_MESSAGE_EXPORT | 76 #define IPC_MESSAGE_EXPORT |
| 74 | 77 |
| 75 #endif // UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ | 78 #endif // UI_GFX_IPC_GFX_PARAM_TRAITS_MACROS_H_ |
| OLD | NEW |