Chromium Code Reviews| 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..eac47c210289d8584addec4a211ad2707ebc7722 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 web contents are created |
|
Charlie Reis
2017/06/05 21:06:28
nit: WebContents
Łukasz Anforowicz
2017/06/05 22:06:54
Done.
|
| + // (i.e. in case |disposition| asks for a new tab or window). |
| + content::RenderFrameHost* opener; |
| // Sets browser->is_trusted_source. Default is false. |
| bool trusted_source; |