Adds back logic to reset mouse handlers in other roots on capture
commit41376d2772e2b7052bf0b86413f5a68fed740d61
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Oct 2013 03:42:45 +0000 (25 03:42 +0000)
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Oct 2013 03:42:45 +0000 (25 03:42 +0000)
tree186fb73fb71d6652df6f2c040187fe9266ec0202
parent9dda4ae7cbd6338f47966c804f15861d3b6873a0
Adds back logic to reset mouse handlers in other roots on capture

Without this we can end up in a situation where a root thinks the
mouse is down when it isn't, resulting in all sorts of issues.

BUG=309511
TEST=covered by test now.
R=ben@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230931 0039d316-1c4b-4281-b951-d872f2087c98
ui/aura/client/capture_delegate.h
ui/aura/root_window.cc
ui/aura/root_window.h
ui/views/corewm/desktop_capture_controller_unittest.cc
ui/views/widget/desktop_aura/desktop_capture_client.cc
ui/views/widget/desktop_aura/desktop_capture_client.h