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

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

Issue 10829225: Browser Plugin: Add HTML5-like postMessage support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Verified to work with nasko@'s disabled frame tree updates 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/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 635a406aca057391f28c4fca16c8ee4657b93217..2256d7ee017d4545fef5c6af5d649d9e9ab86b36 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -103,6 +103,10 @@ class CONTENT_EXPORT WebContentsImpl
static webkit_glue::WebPreferences GetWebkitPrefs(
content::RenderViewHost* rvh, const GURL& url);
+ // Creates a swapped out RenderView in the guest render process
+ // to allow the guest to postMessage back to its embedder.
Charlie Reis 2012/10/04 21:58:25 Can you move this near CreateOpenerRenderViews? I
Fady Samuel 2012/10/10 21:36:07 I've updated the comment. However, this needs to b
+ int CreateSwappedOutRenderView(content::SiteInstance* instance);
+
// Complex initialization here. Specifically needed to avoid having
// members call back into our virtual functions in the constructor.
virtual void Init(content::BrowserContext* browser_context,

Powered by Google App Engine
This is Rietveld 408576698