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

Unified Diff: ui/app_list/search_result.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/search_result.h ('k') | ui/app_list/search_result_list_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/search_result.cc
diff --git a/ui/app_list/search_result.cc b/ui/app_list/search_result.cc
index a624203a53aea27e3a9611bb6ea55c12eb6c626b..ab40d31e78419c52cd177788c833252ec71f2ab0 100644
--- a/ui/app_list/search_result.cc
+++ b/ui/app_list/search_result.cc
@@ -62,6 +62,12 @@ void SearchResult::SetPercentDownloaded(int percent_downloaded) {
OnPercentDownloadedChanged());
}
+void SearchResult::NotifyItemInstalled() {
+ FOR_EACH_OBSERVER(SearchResultObserver,
+ observers_,
+ OnItemInstalled());
+}
+
void SearchResult::AddObserver(SearchResultObserver* observer) {
observers_.AddObserver(observer);
}
« no previous file with comments | « ui/app_list/search_result.h ('k') | ui/app_list/search_result_list_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698