Consuming any touch move before SCROLL_START prevents the scroll from occuring in Aura
This patch does NOT prevent tap or long press when a touch move is consumed (see crbug.com/327444). An additional state is added to GestureState - GS_SYNTHETIC_CLICK_ABORTED. In addition, the meaning of GS_PENDING_SYNTHETIC_CLICK_NO_SCROLL has changed. GS_PENDING_SYNTHETIC_CLICK_NO_SCROLL indicates that one finger is down and no scrolling can happen, but a tap or long press can still happen. GS_SYNTHETIC_CLICK_ABORTED indicates that a finger is down, but no gestures can be created until the number of active touch points changes. BUG=333947 Review URL: https://codereview.chromium.org/133273013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245635 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment