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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 11748034: Browser Plugin: Refactor BrowserPluginEmbedder to allow creating guests with openers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index e99083772e098fdbcec65a6313df8fe88f57e1d8..6a09cf977015fbd85557cbfb6d9c2e3d492c6dfa 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -85,10 +85,15 @@ class CONTENT_EXPORT WebContentsImpl
const WebContents::CreateParams& params,
WebContentsImpl* opener);
+ // Returns the opener WebContentsImpl.
Charlie Reis 2013/01/04 18:53:19 If we're making this accessible, let's say a littl
Fady Samuel 2013/01/08 17:00:49 Done.
+ WebContentsImpl* opener() const { return opener_; }
+
// Creates a WebContents to be used as a browser plugin guest.
static WebContentsImpl* CreateGuest(
BrowserContext* browser_context,
content::SiteInstance* site_instance,
+ int routing_id,
+ WebContentsImpl* base_web_contents,
Charlie Reis 2013/01/04 18:53:19 Please call this opener_web_contents.
Fady Samuel 2013/01/08 17:00:49 Done.
int guest_instance_id,
const BrowserPluginHostMsg_CreateGuest_Params& params);

Powered by Google App Engine
This is Rietveld 408576698