app_list: Improve initial icon loading.
commitce007882a76f03f6f852dbc4d6faf63d79504fb9
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Dec 2012 20:38:50 +0000 (5 20:38 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 5 Dec 2012 20:38:50 +0000 (5 20:38 +0000)
treef265e4f4b175299f5f66ee7cff6bfc44eaf9a04f
parent7a8bf98ea8e3225918b9df62163fca5f84e89741
app_list: Improve initial icon loading.

- Creates and populates AppListModel and starts icon loading for
  current page apps before creating views;
- Shows UI when all icons are loaded or a maximum wait time has
  passed (currently 50ms);

BUG=161025
TEST=Bring up app launcher and the app icons should not flash.

R=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11418312

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171299 0039d316-1c4b-4281-b951-d872f2087c98
ash/wm/app_list_controller.cc
ash/wm/app_list_controller.h
ui/app_list/app_list_constants.cc
ui/app_list/app_list_constants.h
ui/app_list/app_list_view.cc
ui/app_list/app_list_view.h
ui/app_list/apps_grid_view.cc
ui/app_list/contents_view.cc