From 5291380cf9274160c02d805b7425bacbcfb2a4f5 Mon Sep 17 00:00:00 2001 From: "nasko@chromium.org" Date: Tue, 10 Dec 2013 05:52:18 +0000 Subject: Move out DidStartProvisionalLoad from WebContentsImpl into Navigator. BUG=304341 Review URL: https://codereview.chromium.org/26316005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239683 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/frame_host/navigator_impl.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'content/browser/frame_host/navigator_impl.h') diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h index 2bfc842e..b66b87d 100644 --- a/content/browser/frame_host/navigator_impl.h +++ b/content/browser/frame_host/navigator_impl.h @@ -21,9 +21,26 @@ class CONTENT_EXPORT NavigatorImpl : public Navigator { NavigatorImpl(NavigationControllerImpl* navigation_controller, NavigatorDelegate* delegate); + // Navigator implementation. + virtual void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, + int64 frame_id, + int64 parent_frame_id, + bool main_frame, + const GURL& url) OVERRIDE; + private: virtual ~NavigatorImpl() {} + // The NavigationController that will keep track of session history for all + // RenderFrameHost objects using this NavigatorImpl. + // TODO(nasko): Move ownership of the NavigationController from + // WebContentsImpl to this class. + NavigationControllerImpl* controller_; + + // Used to notify the object embedding this Navigator about navigation + // events. Can be NULL in tests. + NavigatorDelegate* delegate_; + DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); }; -- cgit v1.1