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

Unified Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.h

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Current checkpoint Created 9 years 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: chrome/browser/tab_contents/render_view_host_delegate_helper.h
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.h b/chrome/browser/tab_contents/render_view_host_delegate_helper.h
index 7e0c2fb6af36147bf9081193a2bf4549d908bd03..a9de64cb1f42b9758cc8b9005b94328219fc3bcc 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.h
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.h
@@ -30,6 +30,7 @@ struct ViewHostMsg_CreateWindow_Params;
namespace content {
class BrowserContext;
+class ContentFrame;
class RenderProcessHost;
}
@@ -66,8 +67,8 @@ class RenderViewHostDelegateViewHelper : public content::NotificationObserver {
// These methods are meant to be called from TabContentsView implementations.
// They take care of notifying the TabContentsDelegate.
- TabContents* CreateNewWindowFromTabContents(
- TabContents* tab_contents,
+ TabContents* CreateNewWindowFromContentFrame(
+ content::ContentFrame* opener,
int route_id,
const ViewHostMsg_CreateWindow_Params& params);
// Mirrors the RenderViewHostDelegate::View Show methods.
@@ -97,7 +98,7 @@ class RenderViewHostDelegateViewHelper : public content::NotificationObserver {
Profile* profile,
SiteInstance* site,
WebUI::TypeID webui_type,
- RenderViewHostDelegate* opener,
+ content::ContentFrame* opener,
WindowContainerType window_container_type,
const string16& frame_name);
« no previous file with comments | « chrome/browser/extensions/app_process_apitest.cc ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698