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

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

Issue 741593003: Merge: Propagate the search request params from the browser to the Instant search base page to fix … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2214
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_ipc_router.cc
diff --git a/chrome/browser/ui/search/search_ipc_router.cc b/chrome/browser/ui/search/search_ipc_router.cc
index c81a1e99229a4ff3346a81b537cd20bde1bdc59f..9e592c5fc8297b9249b042b4f15907af3376a138 100644
--- a/chrome/browser/ui/search/search_ipc_router.cc
+++ b/chrome/browser/ui/search/search_ipc_router.cc
@@ -136,11 +136,12 @@ void SearchIPCRouter::ToggleVoiceSearch() {
Send(new ChromeViewMsg_SearchBoxToggleVoiceSearch(routing_id()));
}
-void SearchIPCRouter::Submit(const base::string16& text) {
+void SearchIPCRouter::Submit(const base::string16& text,
+ const EmbeddedSearchRequestParams& params) {
if (!policy_->ShouldSubmitQuery())
return;
- Send(new ChromeViewMsg_SearchBoxSubmit(routing_id(), text));
+ Send(new ChromeViewMsg_SearchBoxSubmit(routing_id(), text, params));
}
void SearchIPCRouter::OnTabActivated() {
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router.h ('k') | chrome/browser/ui/search/search_ipc_router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698