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); |