#ifndef CONTENT_COMMON_FRAME_PARAM_MACROS_H_
#define CONTENT_COMMON_FRAME_PARAM_MACROS_H_
#include "cc/output/compositor_frame_ack.h"
#include "cc/output/compositor_frame.h"
#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"
#undef IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
IPC_STRUCT_BEGIN(FrameMsg_BuffersSwapped_Params)
IPC_STRUCT_MEMBER(int, gpu_host_id)
IPC_STRUCT_MEMBER(int, gpu_route_id)
IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox)
IPC_STRUCT_MEMBER(gfx::Size, size)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(FrameMsg_CompositorFrameSwapped_Params)
IPC_STRUCT_MEMBER(int, producing_host_id)
IPC_STRUCT_MEMBER(int, producing_route_id)
IPC_STRUCT_MEMBER(cc::CompositorFrame, frame)
IPC_STRUCT_MEMBER(uint32, output_surface_id)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(FrameHostMsg_BuffersSwappedACK_Params)
IPC_STRUCT_MEMBER(int, gpu_host_id)
IPC_STRUCT_MEMBER(int, gpu_route_id)
IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox)
IPC_STRUCT_MEMBER(uint32, sync_point)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(FrameHostMsg_CompositorFrameSwappedACK_Params)
IPC_STRUCT_MEMBER(int, producing_host_id)
IPC_STRUCT_MEMBER(int, producing_route_id)
IPC_STRUCT_MEMBER(uint32, output_surface_id)
IPC_STRUCT_MEMBER(cc::CompositorFrameAck, ack)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(FrameHostMsg_ReclaimCompositorResources_Params)
IPC_STRUCT_MEMBER(int, route_id)
IPC_STRUCT_MEMBER(uint32, output_surface_id)
IPC_STRUCT_MEMBER(int, renderer_host_id)
IPC_STRUCT_MEMBER(cc::CompositorFrameAck, ack)
IPC_STRUCT_END()
#endif