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

Side by Side Diff: content/browser/frame_host/interstitial_page_navigator_impl.h

Issue 2657323003: Convert HistoryTabHelper to use the new navigation callbacks. (Closed)
Patch Set: nit Created 3 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
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 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_NAVIGATOR_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/browser/frame_host/navigation_handle_impl.h" 10 #include "content/browser/frame_host/navigation_handle_impl.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 InterstitialPageNavigatorImpl( 23 InterstitialPageNavigatorImpl(
24 InterstitialPageImpl* interstitial, 24 InterstitialPageImpl* interstitial,
25 NavigationControllerImpl* navigation_controller); 25 NavigationControllerImpl* navigation_controller);
26 26
27 NavigatorDelegate* GetDelegate() override; 27 NavigatorDelegate* GetDelegate() override;
28 NavigationController* GetController() override; 28 NavigationController* GetController() override;
29 void DidStartProvisionalLoad( 29 void DidStartProvisionalLoad(
30 RenderFrameHostImpl* render_frame_host, 30 RenderFrameHostImpl* render_frame_host,
31 const GURL& url, 31 const GURL& url,
32 const std::vector<GURL>& redirect_chain,
32 const base::TimeTicks& navigation_start) override; 33 const base::TimeTicks& navigation_start) override;
33 void DidNavigate( 34 void DidNavigate(
34 RenderFrameHostImpl* render_frame_host, 35 RenderFrameHostImpl* render_frame_host,
35 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params, 36 const FrameHostMsg_DidCommitProvisionalLoad_Params& input_params,
36 std::unique_ptr<NavigationHandleImpl> navigation_handle) override; 37 std::unique_ptr<NavigationHandleImpl> navigation_handle) override;
37 38
38 private: 39 private:
39 ~InterstitialPageNavigatorImpl() override; 40 ~InterstitialPageNavigatorImpl() override;
40 41
41 // The InterstitialPage with which this navigator object is associated. 42 // The InterstitialPage with which this navigator object is associated.
42 // Non owned pointer. 43 // Non owned pointer.
43 InterstitialPageImpl* interstitial_; 44 InterstitialPageImpl* interstitial_;
44 45
45 // The NavigationController associated with this navigator. 46 // The NavigationController associated with this navigator.
46 NavigationControllerImpl* controller_; 47 NavigationControllerImpl* controller_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(InterstitialPageNavigatorImpl); 49 DISALLOW_COPY_AND_ASSIGN(InterstitialPageNavigatorImpl);
49 }; 50 };
50 51
51 } // namespace content 52 } // namespace content
52 53
53 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_NAVIGATOR_IMPL_H_ 54 #endif // CONTENT_BROWSER_FRAME_HOST_INTERSTITIAL_PAGE_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_tab_helper.cc ('k') | content/browser/frame_host/interstitial_page_navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698