Index: content/renderer/browser_plugin/browser_plugin_manager_impl.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin_manager_impl.cc b/content/renderer/browser_plugin/browser_plugin_manager_impl.cc |
index a88b34f4dbc87537ee9df054b1f69a5366c91eb4..702a317b187714f1fca64f2db879111885d089c1 100644 |
--- a/content/renderer/browser_plugin/browser_plugin_manager_impl.cc |
+++ b/content/renderer/browser_plugin/browser_plugin_manager_impl.cc |
@@ -37,13 +37,14 @@ bool BrowserPluginManagerImpl::OnControlMessageReceived( |
IPC_BEGIN_MESSAGE_MAP(BrowserPluginManagerImpl, message) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_UpdateRect, OnUpdateRect) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_GuestCrashed, OnGuestCrashed) |
- IPC_MESSAGE_HANDLER(BrowserPluginMsg_DidNavigate, OnDidNavigate) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_AdvanceFocus, OnAdvanceFocus) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_ShouldAcceptTouchEvents, |
OnShouldAcceptTouchEvents) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_LoadStart, OnLoadStart) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_LoadAbort, OnLoadAbort) |
IPC_MESSAGE_HANDLER(BrowserPluginMsg_LoadRedirect, OnLoadRedirect) |
+ IPC_MESSAGE_HANDLER(BrowserPluginMsg_LoadCommit, OnLoadCommit) |
+ IPC_MESSAGE_HANDLER(BrowserPluginMsg_LoadStop, OnLoadStop) |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
return handled; |
@@ -64,14 +65,6 @@ void BrowserPluginManagerImpl::OnGuestCrashed(int instance_id) { |
plugin->GuestCrashed(); |
} |
-void BrowserPluginManagerImpl::OnDidNavigate( |
- int instance_id, |
- const BrowserPluginMsg_DidNavigate_Params& params) { |
- BrowserPlugin* plugin = GetBrowserPlugin(instance_id); |
- if (plugin) |
- plugin->DidNavigate(params); |
-} |
- |
void BrowserPluginManagerImpl::OnAdvanceFocus(int instance_id, bool reverse) { |
BrowserPlugin* plugin = GetBrowserPlugin(instance_id); |
if (plugin) |
@@ -93,6 +86,21 @@ void BrowserPluginManagerImpl::OnLoadStart(int instance_id, |
plugin->LoadStart(url, is_top_level); |
} |
+void BrowserPluginManagerImpl::OnLoadCommit(int instance_id, |
+ const GURL& url, |
+ int process_id, |
+ bool is_top_level) { |
+ BrowserPlugin* plugin = GetBrowserPlugin(instance_id); |
+ if (plugin) |
+ plugin->LoadCommit(url, process_id, is_top_level); |
Fady Samuel
2012/10/15 19:59:20
Spacing is wrong here.
irobert
2012/10/16 01:26:39
Done.
|
+} |
+ |
+void BrowserPluginManagerImpl::OnLoadStop(int instance_id) { |
+ BrowserPlugin* plugin = GetBrowserPlugin(instance_id); |
+ if (plugin) |
+ plugin->LoadStop(); |
+} |
+ |
void BrowserPluginManagerImpl::OnLoadAbort(int instance_id, |
const GURL& url, |
bool is_top_level, |