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

Side by Side 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: Fixing final nits. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/frame_host/interstitial_page_navigator_impl.h" 5 #include "content/browser/frame_host/interstitial_page_navigator_impl.h"
6 6
7 #include "content/browser/frame_host/interstitial_page_impl.h" 7 #include "content/browser/frame_host/interstitial_page_impl.h"
8 #include "content/browser/frame_host/navigator_delegate.h" 8 #include "content/browser/frame_host/navigator_delegate.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h"
9 10
10 namespace content { 11 namespace content {
11 12
12 InterstitialPageNavigatorImpl::InterstitialPageNavigatorImpl( 13 InterstitialPageNavigatorImpl::InterstitialPageNavigatorImpl(
13 InterstitialPageImpl* interstitial, 14 InterstitialPageImpl* interstitial,
14 NavigationControllerImpl* navigation_controller) { 15 NavigationControllerImpl* navigation_controller)
16 : interstitial_(interstitial) {}
17
18 void InterstitialPageNavigatorImpl::DidNavigate(
19 RenderFrameHostImpl* render_frame_host,
20 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params) {
21 // TODO(nasko): Move implementation here, but for the time being call out
22 // to the interstitial page code.
23 interstitial_->DidNavigate(
24 render_frame_host->render_view_host(), input_params);
15 } 25 }
16 26
17 } // namespace content 27 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_navigator_impl.h ('k') | content/browser/frame_host/navigation_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698