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

Unified Diff: ui/app_list/views/search_result_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/search_result_view.h ('k') | ui/app_list/views/search_result_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/search_result_view.cc
diff --git a/ui/app_list/views/search_result_view.cc b/ui/app_list/views/search_result_view.cc
index e14c843e3b7a4a496153b3d59548aaabc5ad6ddb..03615912f8d1373782255ad0092faadacbb21501 100644
--- a/ui/app_list/views/search_result_view.cc
+++ b/ui/app_list/views/search_result_view.cc
@@ -275,6 +275,10 @@ void SearchResultView::OnPercentDownloadedChanged() {
progress_bar_->SetValue(result_->percent_downloaded() / 100.0);
}
+void SearchResultView::OnItemInstalled() {
+ delegate_->OnSearchResultInstalled(this);
+}
+
void SearchResultView::OnSearchResultActionActivated(size_t index,
int event_flags) {
DCHECK(result_);
« no previous file with comments | « ui/app_list/views/search_result_view.h ('k') | ui/app_list/views/search_result_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698