Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(957)

Issue 2284763002: Redirect all mouse input to Alt+Tab window when it's visible, (Closed)

Created:
4 years, 3 months ago by Evan Stade
Modified:
4 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Redirect all mouse input to Alt+Tab window when it's visible, effectively disabling the mouse. Capture is reset when the widget is destroyed. BUG=641171 Committed: https://crrev.com/c7e292ea58a76fe27c6c247bc640054bcf4cb6aa Cr-Commit-Position: refs/heads/master@{#415096}

Patch Set 1 #

Patch Set 2 : test #

Total comments: 3

Patch Set 3 : handle lost capture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -18 lines) Patch
M ash/common/wm/window_cycle_list.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 1 2 3 chunks +77 lines, -18 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
Evan Stade
4 years, 3 months ago (2016-08-26 17:46:38 UTC) #2
sky
One meta question, are you sure you want to eat pointer events outside the widget? ...
4 years, 3 months ago (2016-08-26 19:31:49 UTC) #7
Evan Stade
> One meta question, are you sure you want to eat pointer events outside the ...
4 years, 3 months ago (2016-08-26 22:23:23 UTC) #8
sky
FWIW I tried one OS, and while mouse clicking with alt-tab up the alt-tab goes ...
4 years, 3 months ago (2016-08-26 23:03:54 UTC) #9
Evan Stade
New patch handles lost capture case. I don't know how to test this manually but ...
4 years, 3 months ago (2016-08-29 18:39:26 UTC) #10
sky
LGTM
4 years, 3 months ago (2016-08-29 20:18:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2284763002/40001
4 years, 3 months ago (2016-08-29 20:51:09 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-30 04:30:25 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/c7e292ea58a76fe27c6c247bc640054bcf4cb6aa Cr-Commit-Position: refs/heads/master@{#415096}
4 years, 3 months ago (2016-08-30 04:32:50 UTC) #19
perkj_chrome
4 years, 3 months ago (2016-08-30 10:47:25 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2294723002/ by perkj@chromium.org.

The reason for reverting is: WindowCycleControllerTest.MouseCaptureLost fails on
Chrome os and Asan. 


https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

Powered by Google App Engine
This is Rietveld 408576698