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

Unified Diff: ui/app_list/views/apps_grid_view.h

Issue 466293002: Hardcode applist icon dimension and shadows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/kPreferredIconDimension/kGridIconDimension/g, move header 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/views/apps_grid_view.h
diff --git a/ui/app_list/views/apps_grid_view.h b/ui/app_list/views/apps_grid_view.h
index 5f1c0af324a63edc2e9b531717974398deaa491e..6a94e409e92cd526f744c417da3d9602473445dc 100644
--- a/ui/app_list/views/apps_grid_view.h
+++ b/ui/app_list/views/apps_grid_view.h
@@ -73,7 +73,7 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
// Sets fixed layout parameters. After setting this, CalculateLayout below
// is no longer called to dynamically choosing those layout params.
- void SetLayout(int icon_size, int cols, int rows_per_page);
+ void SetLayout(int cols, int rows_per_page);
int cols() const { return cols_; }
int rows_per_page() const { return rows_per_page_; }
@@ -464,7 +464,6 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
PaginationModel pagination_model_;
PageSwitcher* page_switcher_view_; // Owned by views hierarchy.
- gfx::Size icon_size_;
int cols_;
int rows_per_page_;

Powered by Google App Engine
This is Rietveld 408576698