Allow app list tiles to show search results in the experimental app list.
commit502c06e7deef18b28a0795222521aeffe83c209d
authorcalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 15 Aug 2014 09:20:43 +0000 (15 09:20 +0000)
committercalamity@chromium.org <calamity@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 15 Aug 2014 09:22:46 +0000 (15 09:22 +0000)
tree7457d9f807e09e7a52cfefed0aba63886aacdc88
parentbe8e03580c51ce3877ffc75cfae55c36386c297b
Allow app list tiles to show search results in the experimental app list.

This CL makes app results show as tiles in the experimental app list by
making TileItemViews take SearchResults instead of AppListItems and by
introducing a DisplayType for SearchResults which determines which
surface the result will display on.

Only 4 tiles appear at any one time. This will be fixed in a future
patch.

This CL also has the side effect of fixing a focus bug which was
happening because StartPageView was listening to the AppListModel.

BUG=398801, 349727

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

Cr-Commit-Position: refs/heads/master@{#289826}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289826 0039d316-1c4b-4281-b951-d872f2087c98
ui/app_list/app_list_model.cc
ui/app_list/app_list_model.h
ui/app_list/search_result.cc
ui/app_list/search_result_observer.h
ui/app_list/views/app_list_main_view.cc
ui/app_list/views/app_list_view_unittest.cc
ui/app_list/views/search_result_list_view.cc
ui/app_list/views/start_page_view.cc
ui/app_list/views/start_page_view.h
ui/app_list/views/tile_item_view.cc
ui/app_list/views/tile_item_view.h