Do not hide the cursor on a key up
commit04be0abc78b0726b72750d4a0b273280c23a30b7
authorpkotwicz <pkotwicz@chromium.org>
Tue, 10 Mar 2015 15:38:48 +0000 (10 08:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 10 Mar 2015 15:39:15 +0000 (10 15:39 +0000)
tree2024edd276529b5b9d0523a2d6512951c886b585
parent22e9acc2eeff3e50cf4a39849223a7730cef3f4c
Do not hide the cursor on a key up

When pressing an accelerator, the user may release the modifier key first.
e.g. press Ctrl, press A, release Ctrl, release A
This CL prevents the cursor from being hidden in this scenario.

BUG=454902
TEST=WindowManagerTest.UpdateCursorVisibilityAccelerator

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

Cr-Commit-Position: refs/heads/master@{#319885}
ash/wm/cursor_manager_chromeos.cc
ash/wm/window_manager_unittest.cc