Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Unified Diff: content/common/browser_plugin_messages.h

Issue 10941042: Browser plugin: Implement loadStart and loadAbort events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed creis@'s comments Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..88bc4605e0b427267559a9247e7b53267bcc431a 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -125,6 +125,22 @@ 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.
Charlie Reis 2012/10/04 02:57:48 I think we want this to be one of a set of known e
Fady Samuel 2012/10/04 15:04:51 Done.
+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,

Powered by Google App Engine
This is Rietveld 408576698