diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-26 19:09:58 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-26 19:09:58 +0000 |
commit | b5d500779e947e5c51ff813f2df9e4ab3c768cf5 (patch) | |
tree | e52508ebe6641c9e67e58166a995bf387ff3c755 /ash/desktop_background/desktop_background_controller.cc | |
parent | c56cbfee7fdb312839ba3bec537e947409c0f34c (diff) | |
download | chromium_src-b5d500779e947e5c51ff813f2df9e4ab3c768cf5.zip chromium_src-b5d500779e947e5c51ff813f2df9e4ab3c768cf5.tar.gz chromium_src-b5d500779e947e5c51ff813f2df9e4ab3c768cf5.tar.bz2 |
Fix mouse lock on chromeos
* CompoundEventFilter should show cursor only if the cursor was hidden by this event filter.
* CompoundEventFilter shouldn't try to hide if it's already hidden by someone else.
* It no longer needs set_update_cursor_visibility.
* There is one edge case where it leaves cursor visible. Cursor is hidden by the CompoundEventFilter, then again hidden by mouse lock. I changed RWHVA to hide the cursor if it's visible when mouse is moved.
BUG=152319
TEST=updated test case. also tested manually: see bug for repro step.
Review URL: https://chromiumcodereview.appspot.com/10982040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/desktop_background/desktop_background_controller.cc')
0 files changed, 0 insertions, 0 deletions