• David Black's avatar
    Reland "Miscellaneous holding space fixes." · 1afffb7c
    David Black authored
    This is a reland of 9a224d53
    
    Original change's description:
    > Miscellaneous holding space fixes.
    >
    > 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/+/2436671
    > Reviewed-by: Ahmed Mehfooz <amehfooz@chromium.org>
    > Commit-Queue: David Black <dmblack@google.com>
    > Cr-Commit-Position: refs/heads/master@{#812064}
    
    Bug: 1131262
    Bug: 1131267
    Bug: 1129981
    Change-Id: I2e7438ac8b46c2bedf0896393e11a52cbf9f26ec
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441251
    Commit-Queue: David Black <dmblack@google.com>
    Reviewed-by: default avatarAhmed Mehfooz <amehfooz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#812535}
    1afffb7c
holding_space_tray.cc 5 KB