| 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 #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/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "content/browser/frame_host/navigation_controller_impl.h" | 9 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 10 #include "content/browser/frame_host/navigator.h" | 10 #include "content/browser/frame_host/navigator.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 const GURL& url, | 46 const GURL& url, |
| 47 int error_code, | 47 int error_code, |
| 48 const base::string16& error_description) OVERRIDE; | 48 const base::string16& error_description) OVERRIDE; |
| 49 virtual void DidRedirectProvisionalLoad( | 49 virtual void DidRedirectProvisionalLoad( |
| 50 RenderFrameHostImpl* render_frame_host, | 50 RenderFrameHostImpl* render_frame_host, |
| 51 int32 page_id, | 51 int32 page_id, |
| 52 const GURL& source_url, | 52 const GURL& source_url, |
| 53 const GURL& target_url) OVERRIDE; | 53 const GURL& target_url) OVERRIDE; |
| 54 virtual void DidNavigate( | 54 virtual void DidNavigate( |
| 55 RenderFrameHostImpl* render_frame_host, | 55 RenderFrameHostImpl* render_frame_host, |
| 56 int32 page_id, |
| 56 const FrameHostMsg_DidCommitProvisionalLoad_Params& | 57 const FrameHostMsg_DidCommitProvisionalLoad_Params& |
| 57 input_params) OVERRIDE; | 58 input_params) OVERRIDE; |
| 58 virtual bool NavigateToPendingEntry( | 59 virtual bool NavigateToPendingEntry( |
| 59 RenderFrameHostImpl* render_frame_host, | 60 RenderFrameHostImpl* render_frame_host, |
| 60 NavigationController::ReloadType reload_type) OVERRIDE; | 61 NavigationController::ReloadType reload_type) OVERRIDE; |
| 61 virtual base::TimeTicks GetCurrentLoadStart() OVERRIDE; | 62 virtual base::TimeTicks GetCurrentLoadStart() OVERRIDE; |
| 62 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 63 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 63 const GURL& url, | 64 const GURL& url, |
| 64 const Referrer& referrer, | 65 const Referrer& referrer, |
| 65 WindowOpenDisposition disposition, | 66 WindowOpenDisposition disposition, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 | 108 |
| 108 // System time at which the current load was started. | 109 // System time at which the current load was started. |
| 109 base::TimeTicks current_load_start_; | 110 base::TimeTicks current_load_start_; |
| 110 | 111 |
| 111 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 112 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } // namespace content | 115 } // namespace content |
| 115 | 116 |
| 116 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 117 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |