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

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

Issue 135723003: Move DidCommitProvisionalLoad code from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Some clean up, ready to start reviewing. Created 6 years, 10 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/interstitial_page_navigator_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_navigator_impl.cc b/content/browser/frame_host/interstitial_page_navigator_impl.cc
index 830e1bfde1d6edd5e93de8a61577bd7275b164a9..d1f8b2fe195d919852359f34dace2da61a45622e 100644
--- a/content/browser/frame_host/interstitial_page_navigator_impl.cc
+++ b/content/browser/frame_host/interstitial_page_navigator_impl.cc
@@ -6,12 +6,22 @@
#include "content/browser/frame_host/interstitial_page_impl.h"
#include "content/browser/frame_host/navigator_delegate.h"
+#include "content/browser/renderer_host/render_view_host_impl.h"
namespace content {
InterstitialPageNavigatorImpl::InterstitialPageNavigatorImpl(
InterstitialPageImpl* interstitial,
- NavigationControllerImpl* navigation_controller) {
+ NavigationControllerImpl* navigation_controller)
+ : interstitial_(interstitial) {}
+
+void InterstitialPageNavigatorImpl::DidNavigate(
+ RenderFrameHostImpl* render_frame_host,
+ const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params) {
+ // TODO(nasko): Move implementation here, but for the time being call out
+ // to the interestitial page code.
Charlie Reis 2014/02/05 23:30:37 nit: interstitial
nasko 2014/02/06 01:55:13 Done.
+ interstitial_->DidNavigate(
+ render_frame_host->render_view_host(), input_params);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698