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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 RenderFrameHostImpl* render_frame_host, | 48 RenderFrameHostImpl* render_frame_host, |
49 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 49 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
50 override; | 50 override; |
51 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 51 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
52 const GURL& url, | 52 const GURL& url, |
53 int error_code, | 53 int error_code, |
54 const base::string16& error_description, | 54 const base::string16& error_description, |
55 bool was_ignored_by_handler) override; | 55 bool was_ignored_by_handler) override; |
56 void DidNavigate( | 56 void DidNavigate( |
57 RenderFrameHostImpl* render_frame_host, | 57 RenderFrameHostImpl* render_frame_host, |
58 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 58 const FrameHostMsg_DidCommitProvisionalLoad_Params& params, |
| 59 scoped_refptr<ResourceRequestBody> post_data) override; |
59 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, | 60 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, |
60 const FrameNavigationEntry& frame_entry, | 61 const FrameNavigationEntry& frame_entry, |
61 NavigationController::ReloadType reload_type, | 62 NavigationController::ReloadType reload_type, |
62 bool is_same_document_history_load) override; | 63 bool is_same_document_history_load) override; |
63 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, | 64 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, |
64 const std::string& unique_name) override; | 65 const std::string& unique_name) override; |
65 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 66 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
66 const GURL& url, | 67 const GURL& url, |
67 SiteInstance* source_site_instance, | 68 SiteInstance* source_site_instance, |
68 const Referrer& referrer, | 69 const Referrer& referrer, |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 NavigatorDelegate* delegate_; | 152 NavigatorDelegate* delegate_; |
152 | 153 |
153 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 154 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 156 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace content | 159 } // namespace content |
159 | 160 |
160 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 161 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
OLD | NEW |