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

Unified Diff: content/browser/frame_host/navigator_impl.cc

Issue 2084953003: Fix clicks on NTP tiles not contributing to Most Visited tiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 6 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: content/browser/frame_host/navigator_impl.cc
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc
index c63d436dd916555d18149a188b5df67d3b9ca79c..b854bbaaf096734c5d7535da807da2ae3ca9e1a6 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -722,6 +722,9 @@ void NavigatorImpl::RequestOpenURL(
params.is_renderer_initiated = false;
}
+ GetContentClient()->browser()->OverrideOpenURLParams(current_site_instance,
+ &params);
Charlie Reis 2016/06/28 00:52:05 This seems a little unfortunate since we call righ
mastiz 2016/06/28 08:20:31 We could make a modified copy of params within Req
+
if (delegate_)
delegate_->RequestOpenURL(render_frame_host, params);
}

Powered by Google App Engine
This is Rietveld 408576698