Refactor app list event handling and prerendering.
commite407013f55b72cb9e0a86aec541bd8eba5efe90f
authormgiuca <mgiuca@chromium.org>
Fri, 29 Aug 2014 08:45:04 +0000 (29 01:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 Aug 2014 08:46:32 +0000 (29 08:46 +0000)
tree13471a2ead2fc22b0b605fa8dba2ca35e6b3a18f
parent885fee17a8df62e0ab51c06742d55f459bae6ea8
Refactor app list event handling and prerendering.

ContentsView should not be responsible for apps-grid-specific logic.

To this end, moved scroll and gesture event handling from ContentsView
to AppsGridView, removing the special cases for NAMED_PAGE_APPS. Also
moved some of the prerender logic from ContentsView to AppsGridView.

BUG=377381

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

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