Make launcherPage.setEnabled(false) hide the custom launcher page.
commitb0a1625109ec0b9e97bd91acea31c61fd0216811
authorcalamity <calamity@chromium.org>
Tue, 10 Feb 2015 04:31:15 +0000 (9 20:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Feb 2015 04:31:48 +0000 (10 04:31 +0000)
tree4bfd26aa72bb138e70c3599b4900fd171e631b9a
parent7a1e90579572e55aa4caa76c6c0fe01f9b3241de
Make launcherPage.setEnabled(false) hide the custom launcher page.

This CL makes the custom launcher page hide when the launcher page is
disabled. If the launcher page is showing, it will return to the start
page and hide the launcher page peek-in view when the animation ends.
Re-enabling the launcher page will show the view again.

BUG=455011

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

Cr-Commit-Position: refs/heads/master@{#315493}
chrome/browser/apps/custom_launcher_page_browsertest_views.cc
ui/app_list/views/app_list_main_view.cc
ui/app_list/views/contents_view.cc
ui/app_list/views/start_page_view.cc