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

Unified Diff: ui/app_list/search_result.cc

Issue 796793002: Make app list recommendations into their own DisplayType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mathp_suggestions_search
Patch Set: Created 6 years 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 8c7b66e245ebd64a1bfd4171f2e2ed28303b908c..a0d58b12c3688819e44af8765f1222be33944e13 100644
--- a/ui/app_list/search_result.cc
+++ b/ui/app_list/search_result.cc
@@ -72,6 +72,7 @@ void SearchResult::SetPercentDownloaded(int percent_downloaded) {
int SearchResult::GetPreferredIconDimension() const {
switch (display_type_) {
+ case DISPLAY_RECOMMENDATION:
Matt Giuca 2014/12/11 08:00:57 // Fallthrough.
calamity 2014/12/12 05:00:24 Done.
case DISPLAY_TILE:
return kTileIconSize;
case DISPLAY_LIST:

Powered by Google App Engine
This is Rietveld 408576698