| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index d8780b28e15c7ac10a5d088b92a653042970c61e..a109c3069b6785c1a8bbd10f4dd70a253ea65d4c 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/process.h"
|
| #include "base/shared_memory.h"
|
| +#include "cc/ipc/cc_param_traits.h"
|
| #include "content/common/content_export.h"
|
| #include "content/common/content_param_traits.h"
|
| #include "content/common/css_colors.h"
|
| @@ -791,6 +792,19 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
|
| IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
|
| IPC_STRUCT_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
|
| + IPC_STRUCT_TRAITS_MEMBER(id)
|
| + IPC_STRUCT_TRAITS_MEMBER(format)
|
| + IPC_STRUCT_TRAITS_MEMBER(size)
|
| + IPC_STRUCT_TRAITS_MEMBER(mailbox)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| +IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResourceList)
|
| + IPC_STRUCT_TRAITS_MEMBER(sync_point)
|
| + IPC_STRUCT_TRAITS_MEMBER(resources)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| +
|
| // Messages sent from the browser to the renderer.
|
|
|
| // Sent to the RenderView when a new tab is swapped into an existing
|
| @@ -2390,3 +2404,8 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
|
| IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
|
| GURL /* content_url */)
|
| #endif
|
| +
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame,
|
| + cc::CompositorFrame /* frame */)
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameACK,
|
| + cc::CompositorFrameAck /* ack */)
|
|
|