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

Unified Diff: ui/app_list/search_result.h

Issue 458983004: Move app list search result icon sizes to app_list_constants. (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.h
diff --git a/ui/app_list/search_result.h b/ui/app_list/search_result.h
index f210248d4e03a236306ab16b3ac230b0bff10004..c4195554f396ac484810ffb91217f238c329e60a 100644
--- a/ui/app_list/search_result.h
+++ b/ui/app_list/search_result.h
@@ -109,6 +109,9 @@ class APP_LIST_EXPORT SearchResult {
int percent_downloaded() const { return percent_downloaded_; }
void SetPercentDownloaded(int percent_downloaded);
+ // Returns the size at which this result's icon should be displayed.
+ int GetPreferredIconSize();
+
void NotifyItemInstalled();
void NotifyItemUninstalled();

Powered by Google App Engine
This is Rietveld 408576698