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

Unified Diff: chrome/browser/ui/search/search_tab_helper.cc

Issue 609493002: Propagate the search request params from the browser to the Instant search base page to fix the embe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: '' Created 6 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: chrome/browser/ui/search/search_tab_helper.cc
diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc
index f2c34e773db558c7707628ad85ec8b24ad71e745..1ed4f538a04f595aaf1e97253cca4e0e12fcd1e7 100644
--- a/chrome/browser/ui/search/search_tab_helper.cc
+++ b/chrome/browser/ui/search/search_tab_helper.cc
@@ -255,8 +255,9 @@ void SearchTabHelper::SetSuggestionToPrefetch(
ipc_router_.SetSuggestionToPrefetch(suggestion);
}
-void SearchTabHelper::Submit(const base::string16& text) {
- ipc_router_.Submit(text);
+void SearchTabHelper::Submit(const base::string16& text,
+ const EmbeddedSearchRequestParams& params) {
+ ipc_router_.Submit(text, params);
}
void SearchTabHelper::OnTabActivated() {

Powered by Google App Engine
This is Rietveld 408576698