Add drag status type for gesture from home to overview
Currently, drag and hold gesture for transition from home to overview is handled by SwipeHomeToOverviewController owned by HomeLauncherGestureHandler, which means that shelf layout manager's drag_status_ indicates app list drag while the home-to-overview drag is in progress. This causes hotseat not to change its state while the drag is handled, the behavior which is suboptimal given that home screen can transition to overview while the gesture pointers are still down (the shelf should update to reflect the state change immediately). This cl introduces new drag status type, that enables the shelf layout manager to treat shelf updates differently while home to overview gesture is active than when app list drag is active. BUG=1005366 Change-Id: I555b344a57df0830b5380d48ce98237673aad2d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894136 Commit-Queue: Toni Baržić <tbarzic@chromium.org> Reviewed-by:Manu Cornet <manucornet@chromium.org> Cr-Commit-Position: refs/heads/master@{#711514}
Showing
Please register or sign in to comment