| 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/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 27 matching lines...) Expand all Loading... |
| 38 NavigationController* GetController() override; | 38 NavigationController* GetController() override; |
| 39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 40 const GURL& url) override; | 40 const GURL& url) override; |
| 41 void DidFailProvisionalLoadWithError( | 41 void DidFailProvisionalLoadWithError( |
| 42 RenderFrameHostImpl* render_frame_host, | 42 RenderFrameHostImpl* render_frame_host, |
| 43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
| 44 override; | 44 override; |
| 45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 45 void DidFailLoadWithError(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, |
| 49 bool was_ignored_by_handler) override; |
| 49 void DidNavigate(RenderFrameHostImpl* render_frame_host, | 50 void DidNavigate(RenderFrameHostImpl* render_frame_host, |
| 50 const FrameHostMsg_DidCommitProvisionalLoad_Params& | 51 const FrameHostMsg_DidCommitProvisionalLoad_Params& |
| 51 input_params) override; | 52 input_params) override; |
| 52 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, | 53 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, |
| 53 const FrameNavigationEntry& frame_entry, | 54 const FrameNavigationEntry& frame_entry, |
| 54 NavigationController::ReloadType reload_type, | 55 NavigationController::ReloadType reload_type, |
| 55 bool is_same_document_history_load) override; | 56 bool is_same_document_history_load) override; |
| 56 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 57 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 57 const GURL& url, | 58 const GURL& url, |
| 58 SiteInstance* source_site_instance, | 59 SiteInstance* source_site_instance, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 NavigatorDelegate* delegate_; | 143 NavigatorDelegate* delegate_; |
| 143 | 144 |
| 144 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 145 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
| 145 | 146 |
| 146 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 147 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 } // namespace content | 150 } // namespace content |
| 150 | 151 |
| 151 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 152 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |