• Xiaoqian Dai's avatar
    Move fling/swipe event handling logic to WindowResizer. · dd378ab0
    Xiaoqian Dai authored
    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: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#597380}
    dd378ab0
wm_toplevel_window_event_handler.h 4.92 KB