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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.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: Fixed nits 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
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_plugin/browser_plugin_embedder.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index f41e22e3e3dfc75ef1c8a2c6e4e8964dfafec680..72fa56981561fcbe1c7cc76bfd53b1b466db9cbf 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -105,6 +105,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
const WebKit::WebInputEvent& event,
IPC::Message* reply_message);
void PluginDestroyed(int instance_id);
+ void SetGuestVisibility(int instance_id,
+ bool guest_visible);
// Overrides factory for testing. Default (NULL) value indicates regular
// (non-test) environment.
@@ -144,6 +146,7 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
// Contains guests' WebContents, mapping from their instance ids.
ContainerInstanceMap guest_web_contents_by_instance_id_;
RenderViewHost* render_view_host_;
+ bool visible_;
DISALLOW_COPY_AND_ASSIGN(BrowserPluginEmbedder);
};
« no previous file with comments | « no previous file | content/browser/browser_plugin/browser_plugin_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698