Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(855)

Side by Side Diff: content/browser/frame_host/navigator_impl.h

Issue 2475693002: Do not reset NavigationHandle when navigating same-page (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 RenderFrameHostImpl* render_frame_host, 49 RenderFrameHostImpl* render_frame_host,
50 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 50 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
51 override; 51 override;
52 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, 52 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host,
53 const GURL& url, 53 const GURL& url,
54 int error_code, 54 int error_code,
55 const base::string16& error_description, 55 const base::string16& error_description,
56 bool was_ignored_by_handler) override; 56 bool was_ignored_by_handler) override;
57 void DidNavigate( 57 void DidNavigate(
58 RenderFrameHostImpl* render_frame_host, 58 RenderFrameHostImpl* render_frame_host,
59 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 59 const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
60 std::unique_ptr<NavigationHandleImpl> navigation_handle) override;
60 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node, 61 bool NavigateToPendingEntry(FrameTreeNode* frame_tree_node,
61 const FrameNavigationEntry& frame_entry, 62 const FrameNavigationEntry& frame_entry,
62 ReloadType reload_type, 63 ReloadType reload_type,
63 bool is_same_document_history_load) override; 64 bool is_same_document_history_load) override;
64 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host, 65 bool NavigateNewChildFrame(RenderFrameHostImpl* render_frame_host,
65 const GURL& default_url) override; 66 const GURL& default_url) override;
66 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 67 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
67 const GURL& url, 68 const GURL& url,
68 bool uses_post, 69 bool uses_post,
69 const scoped_refptr<ResourceRequestBodyImpl>& body, 70 const scoped_refptr<ResourceRequestBodyImpl>& body,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 NavigatorDelegate* delegate_; 160 NavigatorDelegate* delegate_;
160 161
161 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 162 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
162 163
163 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 164 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
164 }; 165 };
165 166
166 } // namespace content 167 } // namespace content
167 168
168 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 169 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698