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

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

Issue 615633005: PlzNavigate: Move the navigation logic to NavigatorImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commit-nav
Patch Set: Created 6 years, 3 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/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 28b7ff1f1dc09484598af3a37f515282e57a520b..74c2834fe94b45f2bb7e0b34c5712bd21223ca87 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1025,7 +1025,8 @@ void RenderFrameHostImpl::OnBeginNavigation(
const CommonNavigationParams& common_params) {
CHECK(CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBrowserSideNavigation));
- frame_tree_node()->render_manager()->OnBeginNavigation(params, common_params);
+ frame_tree_node()->navigator()->OnBeginNavigation(
+ frame_tree_node(), params, common_params);
carlosk 2014/10/01 18:31:10 Noob question: if we really want to move all of na
clamy 2014/10/01 22:30:46 I think it is better to keep the IPC handling in R
}
void RenderFrameHostImpl::OnAccessibilityEvents(

Powered by Google App Engine
This is Rietveld 408576698