Index: chrome/browser/ui/browser_navigator_params.h |
diff --git a/chrome/browser/ui/browser_navigator_params.h b/chrome/browser/ui/browser_navigator_params.h |
index 10778a1b72218e577e24a66bf3e030c899ca8ee3..5236b5f4f429254eba22eae4a62439ea828ff2a4 100644 |
--- a/chrome/browser/ui/browser_navigator_params.h |
+++ b/chrome/browser/ui/browser_navigator_params.h |
@@ -23,6 +23,7 @@ class Browser; |
class Profile; |
namespace content { |
+class RenderFrameHost; |
class WebContents; |
struct OpenURLParams; |
} |
@@ -132,11 +133,9 @@ struct NavigateParams { |
// |tabstrip_add_types|. |
WindowOpenDisposition disposition; |
- // Controls creation of new web contents (in case |disposition| asks for a new |
- // tab or window). If |force_new_process_for_new_contents| is true, then we |
- // try to put the new contents in a new renderer, even if they are same-site |
- // as |source_site_instance| (this is subject to renderer process limits). |
- bool force_new_process_for_new_contents; |
+ // Allows setting the opener for the case when new WebContents are created |
+ // (i.e. when |disposition| asks for a new tab or window). |
+ content::RenderFrameHost* opener; |
// Sets browser->is_trusted_source. Default is false. |
bool trusted_source; |