• David Black's avatar
    Miscellaneous holding space fixes. · 9a224d53
    David Black authored
    Fix pin toggle bounds in HoldingSpaceItemScreenshotView:
    The bounds of the pin toggle button were being stretched to match the
    full height of its parent container.
    
    Fix context menu bounds:
    Context menu should be below the associated view (when space allows).
    
    Fix long press gesture:
    When long pressing, the pressed view should become the selection just
    prior to showing the context menu.
    
    Fix crash in HoldingSpaceTrayBubble:
    If closing bubble due to ESC, bubble widget should only be closed if it
    exists and hasn't already been marked closed.
    
    Fix drag behavior:
    The holding space bubble should be closed during drag events.
    
    Bug: 1131262, 1131267, 1129981
    Change-Id: I5a1f0536ae6badeed841e0a6106e9c423cbf3781
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436671Reviewed-by: default avatarAhmed Mehfooz <amehfooz@chromium.org>
    Commit-Queue: David Black <dmblack@google.com>
    Cr-Commit-Position: refs/heads/master@{#812064}
    9a224d53
holding_space_tray_bubble.cc 6 KB