| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, | 60 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, |
| 61 const FrameNavigationEntry& frame_entry, | 61 const FrameNavigationEntry& frame_entry, |
| 62 ReloadType reload_type, | 62 ReloadType reload_type, |
| 63 bool is_same_document_history_load) override; | 63 bool is_same_document_history_load) override; |
| 64 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, | 64 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, |
| 65 const GURL& default_url) override; | 65 const GURL& default_url) override; |
| 66 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 66 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 67 const GURL& url, | 67 const GURL& url, |
| 68 bool uses_post, | 68 bool uses_post, |
| 69 const scoped_refptr<ResourceRequestBodyImpl>& body, | 69 const scoped_refptr<ResourceRequestBodyImpl>& body, |
| 70 const std::string& extra_headers, |
| 70 SiteInstance* source_site_instance, | 71 SiteInstance* source_site_instance, |
| 71 const Referrer& referrer, | 72 const Referrer& referrer, |
| 72 WindowOpenDisposition disposition, | 73 WindowOpenDisposition disposition, |
| 73 bool should_replace_current_entry, | 74 bool should_replace_current_entry, |
| 74 bool user_gesture) override; | 75 bool user_gesture) override; |
| 75 void RequestTransferURL( | 76 void RequestTransferURL(RenderFrameHostImpl* render_frame_host, |
| 76 RenderFrameHostImpl* render_frame_host, | 77 const GURL& url, |
| 77 const GURL& url, | 78 SiteInstance* source_site_instance, |
| 78 SiteInstance* source_site_instance, | 79 const std::vector<GURL>& redirect_chain, |
| 79 const std::vector<GURL>& redirect_chain, | 80 const Referrer& referrer, |
| 80 const Referrer& referrer, | 81 ui::PageTransition page_transition, |
| 81 ui::PageTransition page_transition, | 82 const GlobalRequestID& transferred_global_request_id, |
| 82 const GlobalRequestID& transferred_global_request_id, | 83 bool should_replace_current_entry, |
| 83 bool should_replace_current_entry, | 84 const std::string& method, |
| 84 const std::string& method, | 85 scoped_refptr<ResourceRequestBodyImpl> post_body, |
| 85 scoped_refptr<ResourceRequestBodyImpl> post_body) override; | 86 const std::string& extra_headers) override; |
| 86 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; | 87 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; |
| 87 void OnBeginNavigation(FrameTreeNode* frame_tree_node, | 88 void OnBeginNavigation(FrameTreeNode* frame_tree_node, |
| 88 const CommonNavigationParams& common_params, | 89 const CommonNavigationParams& common_params, |
| 89 const BeginNavigationParams& begin_params) override; | 90 const BeginNavigationParams& begin_params) override; |
| 90 void FailedNavigation(FrameTreeNode* frame_tree_node, | 91 void FailedNavigation(FrameTreeNode* frame_tree_node, |
| 91 bool has_stale_copy_in_cache, | 92 bool has_stale_copy_in_cache, |
| 92 int error_code) override; | 93 int error_code) override; |
| 93 void LogResourceRequestTime(base::TimeTicks timestamp, | 94 void LogResourceRequestTime(base::TimeTicks timestamp, |
| 94 const GURL& url) override; | 95 const GURL& url) override; |
| 95 void LogBeforeUnloadTime( | 96 void LogBeforeUnloadTime( |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 NavigatorDelegate* delegate_; | 159 NavigatorDelegate* delegate_; |
| 159 | 160 |
| 160 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 161 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
| 161 | 162 |
| 162 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 163 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 163 }; | 164 }; |
| 164 | 165 |
| 165 } // namespace content | 166 } // namespace content |
| 166 | 167 |
| 167 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 168 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |