Tab dragging: Merge the dragged tabs back to the source window conditionally.
After the drag ends, the dragged tab window might need to merge back into the source window if 1) the dragged window or the source window is not added to overview and 2) the dragged window has dragged farther than half of the screen height and 3) the dragged window is not in snap preview area and 4) the dragged window is not dragged to other side of the splitscreen if source window is showing in splitscreen. Bug: 887739 Change-Id: I21bab4ef5fbfc4c9c4294a6028798be3793b8b5c Reviewed-on: https://chromium-review.googlesource.com/c/1259468 Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#597002}
Showing
Please register or sign in to comment