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

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

Issue 1080143003: Move DidStartLoading, DidStopLoading, DidChangeLoadProgress to RFHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Rebase Created 5 years, 8 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_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 16 matching lines...) Expand all
27 struct RequestNavigationParams; 27 struct RequestNavigationParams;
28 28
29 // This class is an implementation of Navigator, responsible for managing 29 // This class is an implementation of Navigator, responsible for managing
30 // navigations in regular browser tabs. 30 // navigations in regular browser tabs.
31 class CONTENT_EXPORT NavigatorImpl : public Navigator { 31 class CONTENT_EXPORT NavigatorImpl : public Navigator {
32 public: 32 public:
33 NavigatorImpl(NavigationControllerImpl* navigation_controller, 33 NavigatorImpl(NavigationControllerImpl* navigation_controller,
34 NavigatorDelegate* delegate); 34 NavigatorDelegate* delegate);
35 35
36 // Navigator implementation. 36 // Navigator implementation.
37 NavigatorDelegate* GetDelegate() override;
37 NavigationController* GetController() override; 38 NavigationController* GetController() override;
38 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
39 const GURL& url, 40 const GURL& url,
40 bool is_transition_navigation) override; 41 bool is_transition_navigation) override;
41 void DidFailProvisionalLoadWithError( 42 void DidFailProvisionalLoadWithError(
42 RenderFrameHostImpl* render_frame_host, 43 RenderFrameHostImpl* render_frame_host,
43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 44 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
44 override; 45 override;
45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 46 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
46 const GURL& url, 47 const GURL& url,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 NavigatorDelegate* delegate_; 137 NavigatorDelegate* delegate_;
137 138
138 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 139 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
139 140
140 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 141 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
141 }; 142 };
142 143
143 } // namespace content 144 } // namespace content
144 145
145 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 146 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_delegate.h ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698