Index: content/common/browser_plugin_messages.h |
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h |
index 563684b4b10e63ed842fbd17dfc4ae0364ce6d7f..22f6de0e581fca7b6ff52700ae4b57f2dbbb6420 100644 |
--- a/content/common/browser_plugin_messages.h |
+++ b/content/common/browser_plugin_messages.h |
@@ -125,6 +125,23 @@ IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest, |
// ----------------------------------------------------------------------------- |
// These messages are from the browser process to the embedder. |
+// When the guest begins to load a page, the browser process informs the |
+// embedder through the BrowserPluginMsg_LoadStart message. |
+IPC_MESSAGE_CONTROL3(BrowserPluginMsg_LoadStart, |
+ int /* instance_id */, |
+ GURL /* url */, |
+ bool /* is_top_level */) |
+ |
+// If the guest fails to commit a page load then it will inform the |
+// embedder through the BrowserPluginMsg_LoadAbort. A description |
+// of the error will be stored in |type|. The list of known error |
+// types can be found in net/base/net_error_list.h. |
+IPC_MESSAGE_CONTROL4(BrowserPluginMsg_LoadAbort, |
+ int /* instance_id */, |
+ GURL /* url */, |
+ bool /* is_top_level */, |
+ std::string /* type */) |
+ |
// When the guest navigates, the browser process informs the embedder through |
// the BrowserPluginMsg_DidNavigate message. |
IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate, |