| Index: content/browser/browser_plugin/browser_plugin_guest.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| index 1524e439b3b9ac1d3395904d9ccac8707eac805a..67443d63bd20fc1877d2b9bc0114d9d73dfe8777 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| @@ -416,10 +416,6 @@ void BrowserPluginGuest::Initialize(
|
| renderer_prefs->browser_handles_all_top_level_requests = false;
|
|
|
| notification_registrar_.Add(
|
| - this, NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME,
|
| - Source<WebContents>(GetWebContents()));
|
| -
|
| - notification_registrar_.Add(
|
| this, NOTIFICATION_RESOURCE_RECEIVED_REDIRECT,
|
| Source<WebContents>(GetWebContents()));
|
|
|
| @@ -522,11 +518,6 @@ void BrowserPluginGuest::Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| switch (type) {
|
| - case NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME: {
|
| - DCHECK_EQ(Source<WebContents>(source).ptr(), GetWebContents());
|
| - LoadHandlerCalled();
|
| - break;
|
| - }
|
| case NOTIFICATION_RESOURCE_RECEIVED_REDIRECT: {
|
| DCHECK_EQ(Source<WebContents>(source).ptr(), GetWebContents());
|
| ResourceRedirectDetails* resource_redirect_details =
|
| @@ -820,10 +811,6 @@ void BrowserPluginGuest::SendMessageToEmbedder(IPC::Message* msg) {
|
| embedder_web_contents_->Send(msg);
|
| }
|
|
|
| -void BrowserPluginGuest::LoadHandlerCalled() {
|
| - SendMessageToEmbedder(new BrowserPluginMsg_LoadHandlerCalled(instance_id()));
|
| -}
|
| -
|
| void BrowserPluginGuest::DragSourceEndedAt(int client_x, int client_y,
|
| int screen_x, int screen_y, WebKit::WebDragOperation operation) {
|
| web_contents()->GetRenderViewHost()->DragSourceEndedAt(client_x, client_y,
|
|
|