Fixed experimental app list pagination indicator.
commit30f9a0e253bc3a325ec85ff768d03c2f46a72244
authormgiuca <mgiuca@chromium.org>
Tue, 9 Sep 2014 07:16:21 +0000 (9 00:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Sep 2014 07:19:59 +0000 (9 07:19 +0000)
tree88eb9828dcc1d02d1aeb8363d4c701f5bb3b26b9
parentdba8ee61f97435f96840e1023443f404f4383111
Fixed experimental app list pagination indicator.

Was previously highlighting the wrong page (regressed in r293066) due to
the page indices not starting from 0.

ContentsSwitcherView now uses a map, not a vector, so buttons can have
arbitrary indices.

BUG=411769

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

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