• Xiaoqian Dai's avatar
    Capture mode: Put cursor setting logic together. · 693f0f09
    Xiaoqian Dai authored
    Fullscreen, window, region capture mode now all require change mouse
    cursor. This CL put mouse cursor setting logic in a central place and
    auto decide which cursor to use based on the current event location.
    It unified the cursor behavior on the capture bar and button, and also
    fixed a few bugs in the original implementation, like the mouse cursor
    can be disappear after clamshell->tablet->clamshell transition.
    
    Bug: 1142937
    Change-Id: I982e3be0fd9c513f108a8dd7cfe4e8aea60905e1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537939
    Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
    Reviewed-by: default avatarAhmed Fakhry <afakhry@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#828564}
    693f0f09
capture_window_observer.cc 3.46 KB