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

Unified Diff: chrome/browser/ui/browser.cc

Issue 2385363002: Pass the RenderProcessHost id on retargeting. (Closed)
Patch Set: Created 4 years, 2 months 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 3d7947e1837758a127d77b20d60c2f31766c9577..869fbec6bce2d95dc32130b24147b8c465641b10 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1600,6 +1600,7 @@ bool Browser::ShouldCreateWebContents(
}
void Browser::WebContentsCreated(WebContents* source_contents,
+ int opener_render_process_id,
int opener_render_frame_id,
const std::string& frame_name,
const GURL& target_url,
@@ -1616,6 +1617,7 @@ void Browser::WebContentsCreated(WebContents* source_contents,
// Notify.
RetargetingDetails details;
details.source_web_contents = source_contents;
+ details.source_render_process_id = opener_render_process_id;
details.source_render_frame_id = opener_render_frame_id;
details.target_url = target_url;
details.target_web_contents = new_contents;

Powered by Google App Engine
This is Rietveld 408576698