From 41376d2772e2b7052bf0b86413f5a68fed740d61 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 25 Oct 2013 03:42:45 +0000 Subject: 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/root_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/aura/root_window.h') 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; -- cgit v1.1