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

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

Issue 2879853002: PlzNavigate: Fix form submission to OOPIF frame. (Closed)
Patch Set: Nits. Created 3 years, 7 months 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/macros.h" 10 #include "base/macros.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool is_same_document_history_load, 116 bool is_same_document_history_load,
117 bool is_history_navigation_in_new_child, 117 bool is_history_navigation_in_new_child,
118 bool is_pending_entry, 118 bool is_pending_entry,
119 const scoped_refptr<ResourceRequestBodyImpl>& post_body); 119 const scoped_refptr<ResourceRequestBodyImpl>& post_body);
120 120
121 bool ShouldAssignSiteForURL(const GURL& url); 121 bool ShouldAssignSiteForURL(const GURL& url);
122 122
123 // PlzNavigate: if needed, sends a BeforeUnload IPC to the renderer to ask it 123 // PlzNavigate: if needed, sends a BeforeUnload IPC to the renderer to ask it
124 // to execute the beforeUnload event. Otherwise, the navigation request will 124 // to execute the beforeUnload event. Otherwise, the navigation request will
125 // be started. 125 // be started.
126 void RequestNavigation(FrameTreeNode* frame_tree_node, 126 void RequestNavigation(
127 const GURL& dest_url, 127 FrameTreeNode* frame_tree_node,
128 const Referrer& dest_referrer, 128 const GURL& dest_url,
129 const FrameNavigationEntry& frame_entry, 129 const Referrer& dest_referrer,
130 const NavigationEntryImpl& entry, 130 const FrameNavigationEntry& frame_entry,
131 ReloadType reload_type, 131 const NavigationEntryImpl& entry,
132 PreviewsState previews_state, 132 ReloadType reload_type,
133 bool is_same_document_history_load, 133 PreviewsState previews_state,
134 bool is_history_navigation_in_new_child, 134 bool is_same_document_history_load,
135 base::TimeTicks navigation_start); 135 bool is_history_navigation_in_new_child,
136 const scoped_refptr<ResourceRequestBodyImpl>& post_body,
137 base::TimeTicks navigation_start);
136 138
137 void RecordNavigationMetrics( 139 void RecordNavigationMetrics(
138 const LoadCommittedDetails& details, 140 const LoadCommittedDetails& details,
139 const FrameHostMsg_DidCommitProvisionalLoad_Params& params, 141 const FrameHostMsg_DidCommitProvisionalLoad_Params& params,
140 SiteInstance* site_instance); 142 SiteInstance* site_instance);
141 143
142 // Called when a navigation has started in a main frame, to update the pending 144 // Called when a navigation has started in a main frame, to update the pending
143 // NavigationEntry if the controller does not currently have a 145 // NavigationEntry if the controller does not currently have a
144 // browser-initiated one. 146 // browser-initiated one.
145 void DidStartMainFrameNavigation(const GURL& url, 147 void DidStartMainFrameNavigation(const GURL& url,
(...skipping 11 matching lines...) Expand all
157 NavigatorDelegate* delegate_; 159 NavigatorDelegate* delegate_;
158 160
159 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 161 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
160 162
161 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 163 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
162 }; 164 };
163 165
164 } // namespace content 166 } // namespace content
165 167
166 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 168 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698