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

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

Issue 559613002: PlzNavigate: Implement RequestNavigation on the renderer side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@commit-navigation-renderer
Patch Set: Fixed error in tests Created 6 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 611103dbb4117984b351435db8018b3ef62ddf10..86e79ff2fead1d1e8d5b10c03df35d2860b1663c 100644
--- a/content/browser/frame_host/navigator_impl.cc
+++ b/content/browser/frame_host/navigator_impl.cc
@@ -829,8 +829,10 @@ bool NavigatorImpl::RequestNavigation(
navigation_request_map_.set(frame_tree_node_id, navigation_request.Pass());
if (frame_tree_node->current_frame_host()->IsRenderFrameLive()) {
- // TODO(clamy): send a RequestNavigation IPC.
- NOTIMPLEMENTED();
+ frame_tree_node->current_frame_host()->Send(new FrameMsg_RequestNavigation(
+ frame_tree_node->current_frame_host()->GetRoutingID(),
+ navigation_request_map_.get(frame_tree_node_id)->common_params(),
+ request_params));
return true;
}
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698