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

Unified Diff: content/browser/frame_host/navigation_handle_impl.cc

Issue 2485783002: PlzNavigate: send searchable form data to the browser side on form submission. (Closed)
Patch Set: rebase&resolve 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_handle_impl.cc
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
index 487525409df0eb1169446364c35455be1f2854a5..c58618c022319fce402850e6248941d9f8fae473 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -370,6 +370,18 @@ void NavigationHandleImpl::CallDidCommitNavigationForTesting(const GURL& url) {
DidCommitNavigation(params, false, render_frame_host_);
}
+bool NavigationHandleImpl::WasStartedFromContextMenu() const {
+ return started_from_context_menu_;
+}
+
+const GURL& NavigationHandleImpl::GetSearchableFormURL() {
+ return searchable_form_url_;
+}
+
+const std::string& NavigationHandleImpl::GetSearchableFormEncoding() {
+ return searchable_form_encoding_;
+}
+
NavigationData* NavigationHandleImpl::GetNavigationData() {
return navigation_data_.get();
}
@@ -761,8 +773,4 @@ void NavigationHandleImpl::RegisterNavigationThrottles() {
}
}
-bool NavigationHandleImpl::WasStartedFromContextMenu() const {
- return started_from_context_menu_;
-}
-
} // namespace content
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.h ('k') | content/browser/frame_host/navigation_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698