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

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: fix compile 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
« no previous file with comments | « ui/app_list/app_list_constants.cc ('k') | ui/app_list/search_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7e7524fafc2472cf50c83a50a88db069ebc9696c 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 dimension at which this result's icon should be displayed.
+ int GetPreferredIconDimension() const;
+
void NotifyItemInstalled();
void NotifyItemUninstalled();
« no previous file with comments | « ui/app_list/app_list_constants.cc ('k') | ui/app_list/search_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698