Clean up of tile sizing code for the Apps Grid View.
commit196bd06c218ed7e832c3666954fd0c8d72f8419b
authorcalamity <calamity@chromium.org>
Fri, 12 Sep 2014 09:27:18 +0000 (12 02:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Sep 2014 09:34:04 +0000 (12 09:34 +0000)
tree6d0d5e38fe8def6e6a42ca2a26bd6622d6b06677
parente3db4d16a382d97c709b593638247b42ddf62207
Clean up of tile sizing code for the Apps Grid View.

This CL cleans up some tile size code and centralizes the calculation of
the apps grid's size.

It also incidentally fixes a bug where the padding between pages was
smaller than it should have been.

BUG=411775

Review URL: https://codereview.chromium.org/553763002

Cr-Commit-Position: refs/heads/master@{#294559}
ui/app_list/views/apps_grid_view.cc
ui/app_list/views/apps_grid_view.h