Notify about deprecated accelerators only if their action is performable
commit5b385890ef802aa9be4f778717e82183293c75fe
authorafakhry <afakhry@chromium.org>
Mon, 14 Sep 2015 18:44:54 +0000 (14 11:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 18:45:36 +0000 (14 18:45 +0000)
tree7313f89cee180d9cd5e03e826545aed562e733b6
parent44a51610ace28f7889bfc3f6841837b6ad63d611
Notify about deprecated accelerators only if their action is performable

If the action cannot be performed then there's no need to display the
notification of its deprecation. Also disable opening the shortcut help
page if the user session is blocked.

R=oshima@chromium.org
BUG=530755,530775,492454

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

Cr-Commit-Position: refs/heads/master@{#348670}
ash/accelerators/accelerator_controller.cc