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

Unified Diff: ui/app_list/views/app_list_main_view.cc

Issue 2846733004: Optimization: not sending answer server requests for voice queries. (Closed)
Patch Set: Last nits Created 3 years, 8 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
« no previous file with comments | « ui/app_list/search_controller.cc ('k') | ui/app_list/views/search_box_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_main_view.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index 04118b8ff039d650b80764559f37feab7d48114f..d70092f4d1be283b292aab8e03a0546180f6ff11 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -87,7 +87,8 @@ void AppListMainView::AddContentsViews() {
contents_view_->layer()->SetFillsBoundsOpaquely(false);
contents_view_->layer()->SetMasksToBounds(true);
- delegate_->StartSearch();
+ // Clear the old query and start search.
+ search_box_view_->ClearSearch();
}
void AppListMainView::ShowAppListWhenReady() {
« no previous file with comments | « ui/app_list/search_controller.cc ('k') | ui/app_list/views/search_box_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698