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

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

Issue 2884293002: Remove unused embeddedSearch.searchBox APIs (Closed)
Patch Set: . 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 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 62a3dda3f9211daca76a9a8dc220fb825f7ca33b..6c56331347de0ca910b49a7cf1f4fe5576dc279c 100644
--- a/chrome/browser/ui/search/search_ipc_router.cc
+++ b/chrome/browser/ui/search/search_ipc_router.cc
@@ -162,12 +162,11 @@ void SearchIPCRouter::SendThemeBackgroundInfo(
search_box()->ThemeChanged(theme_info);
}
-void SearchIPCRouter::Submit(const base::string16& text,
- const EmbeddedSearchRequestParams& params) {
+void SearchIPCRouter::Submit(const EmbeddedSearchRequestParams& params) {
if (!policy_->ShouldSubmitQuery())
return;
- search_box()->Submit(text, params);
+ search_box()->Submit(params);
}
void SearchIPCRouter::OnTabActivated() {

Powered by Google App Engine
This is Rietveld 408576698