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

Unified Diff: ui/app_list/search_result.cc

Issue 10872099: ash: Add support for additional icons in apps search list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: ui/app_list/search_result.cc
diff --git a/ui/app_list/search_result.cc b/ui/app_list/search_result.cc
index b0704fb3654ffda2757571bc1055bd2dc765fe01..5d5e6b5b53b5e42b0151cbe07fd16818af2d0d3b 100644
--- a/ui/app_list/search_result.cc
+++ b/ui/app_list/search_result.cc
@@ -21,6 +21,13 @@ void SearchResult::SetIcon(const gfx::ImageSkia& icon) {
OnIconChanged());
}
+void SearchResult::SetActionIcons(const std::vector<ActionIconSet>& sets) {
+ action_icons_ = sets;
+ FOR_EACH_OBSERVER(SearchResultObserver,
+ observers_,
+ OnActionIconsChanged());
+}
+
void SearchResult::AddObserver(SearchResultObserver* observer) {
observers_.AddObserver(observer);
}

Powered by Google App Engine
This is Rietveld 408576698