| 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 28 matching lines...) Expand all Loading... |
| 39 bool is_transition_navigation) OVERRIDE; | 39 bool is_transition_navigation) OVERRIDE; |
| 40 virtual void DidFailProvisionalLoadWithError( | 40 virtual void DidFailProvisionalLoadWithError( |
| 41 RenderFrameHostImpl* render_frame_host, | 41 RenderFrameHostImpl* render_frame_host, |
| 42 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 42 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
| 43 OVERRIDE; | 43 OVERRIDE; |
| 44 virtual void DidFailLoadWithError( | 44 virtual void DidFailLoadWithError( |
| 45 RenderFrameHostImpl* render_frame_host, | 45 RenderFrameHostImpl* render_frame_host, |
| 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( | |
| 50 RenderFrameHostImpl* render_frame_host, | |
| 51 int32 page_id, | |
| 52 const GURL& source_url, | |
| 53 const GURL& target_url) OVERRIDE; | |
| 54 virtual void DidNavigate( | 49 virtual void DidNavigate( |
| 55 RenderFrameHostImpl* render_frame_host, | 50 RenderFrameHostImpl* render_frame_host, |
| 56 const FrameHostMsg_DidCommitProvisionalLoad_Params& | 51 const FrameHostMsg_DidCommitProvisionalLoad_Params& |
| 57 input_params) OVERRIDE; | 52 input_params) OVERRIDE; |
| 58 virtual bool NavigateToPendingEntry( | 53 virtual bool NavigateToPendingEntry( |
| 59 RenderFrameHostImpl* render_frame_host, | 54 RenderFrameHostImpl* render_frame_host, |
| 60 NavigationController::ReloadType reload_type) OVERRIDE; | 55 NavigationController::ReloadType reload_type) OVERRIDE; |
| 61 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 56 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 62 const GURL& url, | 57 const GURL& url, |
| 63 const Referrer& referrer, | 58 const Referrer& referrer, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Used to notify the object embedding this Navigator about navigation | 98 // Used to notify the object embedding this Navigator about navigation |
| 104 // events. Can be NULL in tests. | 99 // events. Can be NULL in tests. |
| 105 NavigatorDelegate* delegate_; | 100 NavigatorDelegate* delegate_; |
| 106 | 101 |
| 107 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 102 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 108 }; | 103 }; |
| 109 | 104 |
| 110 } // namespace content | 105 } // namespace content |
| 111 | 106 |
| 112 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 107 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |