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

Unified Diff: ui/app_list/search_result.cc

Issue 439703002: Allow app list tiles to show search results in the experimental app list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 9df0e6c79cd3e29bdbf100bd2ec691869e8ac2e2..78f829930fd4775554a5d0aed1b4a881a4cb781d 100644
--- a/ui/app_list/search_result.cc
+++ b/ui/app_list/search_result.cc
@@ -25,10 +25,15 @@ SearchResult::Action::Action(const base::string16& label_text,
SearchResult::Action::~Action() {}
SearchResult::SearchResult()
- : relevance_(0), is_installing_(false), percent_downloaded_(0) {
+ : relevance_(0),
+ display_type_(DISPLAY_LIST),
+ is_installing_(false),
+ percent_downloaded_(0) {
}
-SearchResult::~SearchResult() {}
+SearchResult::~SearchResult() {
+ FOR_EACH_OBSERVER(SearchResultObserver, observers_, OnResultDestroying());
+}
void SearchResult::SetIcon(const gfx::ImageSkia& icon) {
icon_ = icon;

Powered by Google App Engine
This is Rietveld 408576698