Move fling/swipe event handling logic to WindowResizer.
It's needed for crbug.com/874510. Since we have different WindowResizer for laptop mode and tablet mode, and they will have different behavior for fling/swipe events, we should let WindowResizer to do the fling/swipe event handling. So move the logic to WindowResizer. No functionality is changed in this CL. I'll add special logic for tablet mode window fling/swipe in a following-up CL. Bug: 874510 Change-Id: I91b917e8ec947681db12d5be8b8c8b982299af9a Reviewed-on: https://chromium-review.googlesource.com/c/1262457 Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#597380}
Showing
Please register or sign in to comment