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

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

Issue 311753002: App Launcher: Preload the correct number of icons (don't assume 4x4). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/views/app_list_main_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c6c9efa6f800626ace779214e5aa5590cacb5a5d..8ae31176729a61c88c7c050d56c1df6314371587 100644
--- a/ui/app_list/views/apps_grid_view.h
+++ b/ui/app_list/views/apps_grid_view.h
@@ -80,8 +80,8 @@ class APP_LIST_EXPORT AppsGridView : public views::View,
// is no longer called to dynamically choosing those layout params.
void SetLayout(int icon_size, int cols, int rows_per_page);
- int cols() { return cols_; }
- int rows_per_page() { return rows_per_page_; }
+ int cols() const { return cols_; }
+ int rows_per_page() const { return rows_per_page_; }
// This resets the grid view to a fresh state for showing the app list.
void ResetForShowApps();
« no previous file with comments | « ui/app_list/views/app_list_main_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698