commit | 41f73bdf4d915305152ba2053b7523bf5f90ffa8 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Mon May 14 17:59:13 2012 -0700 |
committer | John Reck <jreck@google.com> | Mon May 14 18:40:48 2012 -0700 |
tree | 852441d3c849040de0dac5ec0e39205d4d9244aa | |
parent | 2411c3361eb2c15b09a8bfadf5c7c4a3de092ea0 [diff] |
Always do a HIT_TEST Bug: 6490959 The issue here is that if the page calls preventDefault on a touchstart handler WebViewClassic will not do a HIT_TEST as it doesn't get the ACTION_DOWN. This means that the mouse is in the wrong position when the click ultimately fires. This changes it so that WebViewInputDispatcher will always do a HIT_TEST at the start of a touch stream, which ensures that the mouse is positioned correctly. Change-Id: I1aaca7692e2c7aeedeb21fa3592cd4cb3223ea25