summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/SelectText.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-11-16 09:52:37 -0500
committerCary Clark <cary@android.com>2010-11-16 10:10:25 -0500
commit283cbf40ef1279a6c444458b69a653410b82ca7a (patch)
treeb239f717642ddf02c1992a33379d7dcb4c7867c2 /WebKit/android/nav/SelectText.cpp
parentc171aa015a0cbeab69fa359835f7c82f269d6111 (diff)
downloadexternal_webkit-283cbf40ef1279a6c444458b69a653410b82ca7a.zip
external_webkit-283cbf40ef1279a6c444458b69a653410b82ca7a.tar.gz
external_webkit-283cbf40ef1279a6c444458b69a653410b82ca7a.tar.bz2
improve left edge tap detection
Sites like Gizmodo.com layout paragraphs with extra space between lines. Increase the slop allowed when looking for the left edge of a paragraph to accommodate this. Add #define to disable sideways scrolling if the line is already entirely visible. Make various slop consts more clearly named and commented. A companion fix in frameworks/base is not required, but makes scrolling as a result of taps more reliable. bug:1331125 bug:3099569 Change-Id: I0ed89c1f53de99831e835e417b5409c1176fc841
Diffstat (limited to 'WebKit/android/nav/SelectText.cpp')
0 files changed, 0 insertions, 0 deletions