Update AppListModel when the app list state changes.
commit18e1af8dc635360a3b7d309d07e488049d60c815
authorcalamity <calamity@chromium.org>
Tue, 28 Oct 2014 12:02:17 +0000 (28 05:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Oct 2014 12:02:54 +0000 (28 12:02 +0000)
tree2500aedeb245dfdcb4e09e8424d07d7c35591f9a
parentd8414eb3bb219bf261e5614df6f5f82e4ae1e252
Update AppListModel when the app list state changes.

This CL makes the ContentsView update the AppListModel when the app list
switches pages. This is in preparation for using the AppListModel State
to trigger sending an Event to a launcher page.

BUG=425444

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

Cr-Commit-Position: refs/heads/master@{#301611}
ui/app_list/app_list_model.cc
ui/app_list/app_list_model.h
ui/app_list/app_list_model_observer.h
ui/app_list/views/app_list_view_unittest.cc
ui/app_list/views/contents_view.cc
ui/app_list/views/contents_view.h