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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.h

Issue 2417693002: Allow MimeHandlerViewGuest be embedded inside OOPIFs (Closed)
Patch Set: Rebase and nits Created 4 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/browser/browser_plugin/browser_plugin_guest.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index b99654e3bc7698b25d771afc76bdbfbfad5a3335..c71219ed28b3fddd4d7ecde356c282d5db923958 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -63,6 +63,7 @@ class Range;
namespace content {
class BrowserPluginGuestManager;
+class RenderFrameHostImpl;
class RenderViewHostImpl;
class RenderWidgetHost;
class RenderWidgetHostView;
@@ -279,6 +280,9 @@ class CONTENT_EXPORT BrowserPluginGuest : public GuestHost,
private:
class EmbedderVisibilityObserver;
+ // The RenderFrameHost embedding/containing the BrowserPlugin.
+ RenderFrameHostImpl* GetEmbedderFrame() const;
+
void InitInternal(const BrowserPluginHostMsg_Attach_Params& params,
WebContentsImpl* owner_web_contents);

Powered by Google App Engine
This is Rietveld 408576698