• Sammie Quon's avatar
    desks: Close context menu when activating desks. · c816f4a8
    Sammie Quon authored
    This requires adding support to context menus to close without animation,
    otherwise it will still be visible as the default close has a fade out
    animation, and the screenshot will capture a near-opaque version of the
    menu.
    
    Accelerators by default will also close menus with fade out, so add the
    desk activation acclerator to the exception list and let the desk
    animation code handle the closing.
    
    Fixed: 991939
    Test: manual
    Change-Id: I273042a216c651022215929594a2cedd1efecc82
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586013
    Commit-Queue: Sammie Quon <sammiequon@chromium.org>
    Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#836362}
    c816f4a8
accelerator_table.cc 13.3 KB