• jdduke@chromium.org's avatar
    Support minimum gesture bounds in GestureProvider · c99767e0
    jdduke@chromium.org authored
    Some touch devices report either zero or unreasonably small touch sizes. While
    this doesn't present a problem for gesture detection, it does affect the
    behavior of the touch-derived gestures. For example, tap disambiguation is
    prevented if the tap gesture's size is sufficiently small. As a workaround,
    provide a platform-specific minimum gesture bounds length in GestureProvider.
    On Android, this value is the same as was used before the unified gesture
    detector, and on Aura we simply use half the default touch size.
    
    BUG=379876
    
    Review URL: https://codereview.chromium.org/321563002
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276550 0039d316-1c4b-4281-b951-d872f2087c98
    c99767e0
gesture_event_details.cc 2.03 KB