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

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

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: happy mac Created 7 years, 5 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/views/app_list_main_view.h ('k') | ui/app_list/views/search_result_list_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 d3791ad9c9a5a556b9046efcb325ea13c1cc1be2..f574cd17287f20a418ea1d596873513170b13561 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -226,4 +226,10 @@ void AppListMainView::InvokeResultAction(SearchResult* result,
delegate_->InvokeSearchResultAction(result, action_index, event_flags);
}
+void AppListMainView::OnResultInstalled(SearchResult* result) {
+ // Clears the search to show the apps grid. The last installed app
+ // should be highlighted and made visible already.
+ search_box_view_->ClearSearch();
+}
+
} // namespace app_list
« no previous file with comments | « ui/app_list/views/app_list_main_view.h ('k') | ui/app_list/views/search_result_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698