| Index: content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| index da5e425764148e3fa9f29c3bd0182229cb9ea708..cdfcb69a116979c9c811f2420ec37dd36aec1978 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| @@ -53,6 +53,7 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived(
|
| OnSetGuestVisibility)
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_DragStatusUpdate,
|
| OnDragStatusUpdate)
|
| + IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_SetAutoSize, OnSetAutoSize)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -170,4 +171,11 @@ void BrowserPluginEmbedderHelper::OnDragStatusUpdate(
|
| location);
|
| }
|
|
|
| +void BrowserPluginEmbedderHelper::OnSetAutoSize(
|
| + int instance_id,
|
| + const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
|
| + const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params) {
|
| + embedder_->SetAutoSize(instance_id, auto_size_params, resize_guest_params);
|
| +}
|
| +
|
| } // namespace content
|
|
|