| OLD | NEW |
| 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/navigation_controller_impl.h" | 8 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 9 #include "content/browser/frame_host/navigator_delegate.h" | 9 #include "content/browser/frame_host/navigator_delegate.h" |
| 10 #include "content/browser/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 navigation_start, | 40 navigation_start, |
| 41 0, // pending_nav_entry_id | 41 0, // pending_nav_entry_id |
| 42 false) // started_in_context_menu | 42 false) // started_in_context_menu |
| 43 ); | 43 ); |
| 44 } | 44 } |
| 45 | 45 |
| 46 void InterstitialPageNavigatorImpl::DidNavigate( | 46 void InterstitialPageNavigatorImpl::DidNavigate( |
| 47 RenderFrameHostImpl* render_frame_host, | 47 RenderFrameHostImpl* render_frame_host, |
| 48 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params, | 48 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params, |
| 49 std::unique_ptr<NavigationHandleImpl> navigation_handle) { | 49 std::unique_ptr<NavigationHandleImpl> navigation_handle) { |
| 50 navigation_handle->DidCommitNavigation(input_params, false, | 50 navigation_handle->DidCommitNavigation(input_params, false, GURL(), |
| 51 render_frame_host); | 51 render_frame_host); |
| 52 navigation_handle.reset(); | 52 navigation_handle.reset(); |
| 53 | 53 |
| 54 // TODO(nasko): Move implementation here, but for the time being call out | 54 // TODO(nasko): Move implementation here, but for the time being call out |
| 55 // to the interstitial page code. | 55 // to the interstitial page code. |
| 56 interstitial_->DidNavigate(render_frame_host->render_view_host(), | 56 interstitial_->DidNavigate(render_frame_host->render_view_host(), |
| 57 input_params); | 57 input_params); |
| 58 } | 58 } |
| 59 | 59 |
| 60 } // namespace content | 60 } // namespace content |
| OLD | NEW |