summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-25 03:42:45 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-25 03:42:45 +0000
commit41376d2772e2b7052bf0b86413f5a68fed740d61 (patch)
tree186fb73fb71d6652df6f2c040187fe9266ec0202 /ui/aura/root_window.h
parent9dda4ae7cbd6338f47966c804f15861d3b6873a0 (diff)
downloadchromium_src-41376d2772e2b7052bf0b86413f5a68fed740d61.zip
chromium_src-41376d2772e2b7052bf0b86413f5a68fed740d61.tar.gz
chromium_src-41376d2772e2b7052bf0b86413f5a68fed740d61.tar.bz2
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
Diffstat (limited to 'ui/aura/root_window.h')
-rw-r--r--ui/aura/root_window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index bbbc9b0..ad4c3eb 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -304,6 +304,7 @@ class AURA_EXPORT RootWindow : public Window,
// Overridden from aura::client::CaptureDelegate:
virtual void UpdateCapture(Window* old_capture, Window* new_capture) OVERRIDE;
+ virtual void OnOtherRootGotCapture() OVERRIDE;
virtual void SetNativeCapture() OVERRIDE;
virtual void ReleaseNativeCapture() OVERRIDE;