| Index: content/common/browser_plugin_messages.h
|
| diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h
|
| index ea4d847559a79409f6bf0331cce79f92ad82a3a3..9efe37f67e0cd98cf6711f8c3b9b511687b34cde 100644
|
| --- a/content/common/browser_plugin_messages.h
|
| +++ b/content/common/browser_plugin_messages.h
|
| @@ -108,6 +108,13 @@ IPC_STRUCT_BEGIN(BrowserPluginHostMsg_ResizeGuest_Params)
|
| IPC_STRUCT_MEMBER(bool, resize_pending)
|
| // Indicates the scale factor of the embedder WebView.
|
| IPC_STRUCT_MEMBER(float, scale_factor)
|
| + // Hardware Accelerated Surface Params
|
| + IPC_STRUCT_MEMBER(int, gpu_process_id)
|
| + IPC_STRUCT_MEMBER(uint32, client_id)
|
| + IPC_STRUCT_MEMBER(uint32, context_id)
|
| + IPC_STRUCT_MEMBER(uint32, texture_id_0)
|
| + IPC_STRUCT_MEMBER(uint32, texture_id_1)
|
| + IPC_STRUCT_MEMBER(uint32, sync_point)
|
| IPC_STRUCT_END()
|
|
|
| // A BrowserPlugin sends this to BrowserPluginEmbedder (browser process) when it
|
| @@ -120,6 +127,11 @@ IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateGuest,
|
| std::string /* src */,
|
| BrowserPluginHostMsg_ResizeGuest_Params /* resize_params */)
|
|
|
| +IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_BuffersSwappedACK,
|
| + int /* route_id */,
|
| + int /* gpu_host_id */,
|
| + uint32 /* sync_point */)
|
| +
|
| // When a BrowserPlugin has been removed from the embedder's DOM, it informs
|
| // the browser process to cleanup the guest.
|
| IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed,
|
| @@ -267,3 +279,13 @@ IPC_MESSAGE_CONTROL3(BrowserPluginMsg_UpdateRect,
|
| int /* instance_id */,
|
| int /* message_id */,
|
| BrowserPluginMsg_UpdateRect_Params)
|
| +
|
| +IPC_MESSAGE_CONTROL4(BrowserPluginMsg_BuffersSwapped,
|
| + int /* instance_id */,
|
| + uint64 /* surface_handle */,
|
| + int /* route_id */,
|
| + int /* gpu_host_id */)
|
| +
|
| +IPC_MESSAGE_CONTROL2(BrowserPluginMsg_SurfaceResize,
|
| + int /* instance_id */,
|
| + gfx::Size /* size */)
|
|
|