Chromium Code Reviews| 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..04444127d86cf6df630511475c4364a6f62a0881 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; |
| } |
| @@ -67,7 +68,7 @@ class RenderViewHostDelegateViewHelper : public content::NotificationObserver { |
| // These methods are meant to be called from TabContentsView implementations. |
| // They take care of notifying the TabContentsDelegate. |
| TabContents* CreateNewWindowFromTabContents( |
|
awong
2011/12/21 01:06:38
This function needs to be renamed.
supersat
2011/12/23 03:22:46
Done.
|
| - TabContents* tab_contents, |
| + 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, |
|
awong
2011/12/21 01:56:07
The fact that these two APIs take a ContentFrame a
supersat
2011/12/23 03:22:46
When the opener TabContents was passed in before,
|
| WindowContainerType window_container_type, |
| const string16& frame_name); |