• Sammie Quon's avatar
    capture_mode: Multi-display behavior for capture mode. · fd3bbf88
    Sammie Quon authored
    Capture bar appears on the display with the mouse cursor. The other
    displays are dimmed out. In fullscreen capture mode, users can move the
    mouse to the other display to focus that display. In region capture
    mode, moving the mouse to the other display does nothing, but pressing
    the mouse on the display will focus that display.
    
    Focusing a display will move the widgets and the layer owned by the
    session to the display.
    
    See videos in linked bug for demos.
    
    Test: added test
    Bug: 1133454
    Change-Id: If237ca653736e94549d7005f09ecc9c8e94dc8c1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440874
    Commit-Queue: Sammie Quon <sammiequon@chromium.org>
    Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#817148}
    fd3bbf88
capture_mode_bar_view.cc 3.56 KB