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

Unified Diff: ash/app_list/app_list_item_view.h

Issue 9677065: ash: Update app list UI to match latest crwm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 | « ash/app_list/app_list.cc ('k') | ash/app_list/app_list_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list_item_view.h
diff --git a/ash/app_list/app_list_item_view.h b/ash/app_list/app_list_item_view.h
index 3f2123d6d297fb64d3b7f8c48ab019553dbbea16..cdc315ad4b04092e1231529949fb13f993d0f320 100644
--- a/ash/app_list/app_list_item_view.h
+++ b/ash/app_list/app_list_item_view.h
@@ -33,6 +33,8 @@ class AppListItemView : public views::CustomButton,
views::ButtonListener* listener);
virtual ~AppListItemView();
+ static gfx::Size GetPreferredSizeForIconSize(const gfx::Size& icon_size);
+
void SetSelected(bool selected);
bool selected() const {
return selected_;
@@ -46,9 +48,6 @@ class AppListItemView : public views::CustomButton,
icon_size_ = size;
}
- // Icon padding
- static const int kPadding = 5;
-
// Internal class name.
static const char kViewClassName[];
« no previous file with comments | « ash/app_list/app_list.cc ('k') | ash/app_list/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698