Index: content/common/browser_plugin_messages.h |
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h |
index 69de1ee9c191ae663cd3547a57cbb0431514c54b..4365a061402dbf0257f33cb42a89181bcb03ed3e 100644 |
--- a/content/common/browser_plugin_messages.h |
+++ b/content/common/browser_plugin_messages.h |
@@ -174,7 +174,7 @@ IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadRedirect, |
GURL /* new_url */, |
bool /* is_top_level */) |
-IPC_STRUCT_BEGIN(BrowserPluginMsg_DidNavigate_Params) |
+IPC_STRUCT_BEGIN(BrowserPluginMsg_LoadCommit_Params) |
// The current URL of the guest. |
IPC_STRUCT_MEMBER(GURL, url) |
// Indicates whether the navigation was on the top-level frame. |
@@ -188,12 +188,16 @@ IPC_STRUCT_BEGIN(BrowserPluginMsg_DidNavigate_Params) |
IPC_STRUCT_MEMBER(int, entry_count) |
IPC_STRUCT_END() |
-// When the guest navigates, the browser process informs the embedder through |
-// the BrowserPluginMsg_DidNavigate message along with information about the |
-// guest's current navigation state. |
-IPC_MESSAGE_CONTROL2(BrowserPluginMsg_DidNavigate, |
+// When the guest commits a navigation, the browser process informs |
+// the embedder through the BrowserPluginMsg_DidCommit message. |
+IPC_MESSAGE_CONTROL2(BrowserPluginMsg_LoadCommit, |
int /* instance_id */, |
- BrowserPluginMsg_DidNavigate_Params) |
+ BrowserPluginMsg_LoadCommit_Params) |
+ |
+// When the guest page has completed loading (including subframes), the browser |
+// process informs the embedder through the BrowserPluginMsg_LoadStop message. |
+IPC_MESSAGE_CONTROL1(BrowserPluginMsg_LoadStop, |
+ int /* instance_id */) |
// When the guest crashes, the browser process informs the embedder through this |
// message. |