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

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: Some cleanup 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..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);

Powered by Google App Engine
This is Rietveld 408576698