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

Unified Diff: content/common/browser_plugin_messages.h

Issue 11066032: Browser Plugin: Update Guest WebContents Visibility on BrowserPlugin Visiblity Change. (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 a853efb5ba56fbc169a28096a80dac7c66dad57a..c9dfdef505275548f46f6f812b36a3a45b50baca 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -117,6 +117,11 @@ IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_NavigateGuest,
IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_PluginDestroyed,
int /* instance_id */)
+// Tells the guest it has been shown or hidden.
+IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility,
+ int /* instance_id */,
+ bool /* visible */)
+
// -----------------------------------------------------------------------------
// These messages are from the guest renderer to the browser process

Powered by Google App Engine
This is Rietveld 408576698