| Index: content/browser/browser_plugin/browser_plugin_guest_impl.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest_impl.cc b/content/browser/browser_plugin/browser_plugin_guest_impl.cc
|
| index f5e1b58b682387d67f8207cb22026f1183d35112..80f2fb1a1e5dde0db23e1a1af05537eececb3356 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest_impl.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest_impl.cc
|
| @@ -123,7 +123,6 @@ bool BrowserPluginGuestImpl::OnMessageReceivedFromEmbedder(
|
| OnDragStatusUpdate)
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_ForwardMessage,
|
| OnForwardMessage)
|
| - IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_Go, OnGo)
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_HandleInputEvent,
|
| OnHandleInputEvent)
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_NavigateGuest, OnNavigateGuest)
|
| @@ -182,6 +181,8 @@ void BrowserPluginGuestImpl::Initialize(
|
|
|
| GetContentClient()->browser()->GuestWebContentsCreated(
|
| web_contents(), embedder_web_contents_);
|
| +
|
| + GetContentClient()->browser()->BrowserPluginGuestCreated(this);
|
| }
|
|
|
| BrowserPluginGuestImpl::~BrowserPluginGuestImpl() {
|
| @@ -570,10 +571,6 @@ void BrowserPluginGuestImpl::OnForwardMessage(int instance_id,
|
| }
|
| }
|
|
|
| -void BrowserPluginGuestImpl::OnGo(int instance_id, int relative_index) {
|
| - web_contents()->GetController().GoToOffset(relative_index);
|
| -}
|
| -
|
| void BrowserPluginGuestImpl::OnHandleInputEvent(
|
| int instance_id,
|
| const gfx::Rect& guest_window_rect,
|
|
|