• chinsenj's avatar
    Reland "cros: Add alternate keys for interacting with window cycler (alt+tab)." · 1ce2468a
    chinsenj authored
    This is a reland of feab4f74
    
    Original change's description:
    > cros: Add alternate keys for interacting with window cycler (alt+tab).
    > 
    > Currently a user can only cycle the window cycle list using alt+tab or
    > alt+shift+tab. Also, the user can only confirm their selection by
    > releasing the alt key.
    > 
    > This CL improves the interactivity of window cycler by introducing the
    > following changes. Pressing the left and right arrows now move the
    > selection while the window cycler is open. Pressing enter or space
    > now confirms the selection.
    > 
    >       WindowCycleControllerTest.KeysConfirmSelection
    > 
    > Test: WindowCycleControllerTest.LeftRightCycle,
    > Bug: 1067327
    > Change-Id: I03682c5545bf82415b9e71a4814bf5c1b0c196bc
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358586
    > Commit-Queue: Jeremy Chinsen <chinsenj@chromium.org>
    > Reviewed-by: Sammie Quon <sammiequon@chromium.org>
    > Reviewed-by: Xiaoqian Dai <xdai@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#800423}
    
    Bug: 1067327
    Change-Id: Ie05f898abe3565fca603b70450bf3a6d92a9caf7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2368467Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
    Commit-Queue: Jeremy Chinsen <chinsenj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#800641}
    1ce2468a
window_cycle_controller_unittest.cc 40.2 KB