diff options
author | Cary Clark <cary@android.com> | 2010-11-11 13:02:24 -0500 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-11-11 13:06:15 -0500 |
commit | 62e1f86fe500eeb622fe50cdb5cc0e09e18069d1 (patch) | |
tree | 7ff6af07f3a1bd817414ca720add4c4a593231eb /WebKit/android/WebCoreSupport/WebRequest.cpp | |
parent | 2b36633c8e1183d3b024dea63d958eaff71bdc64 (diff) | |
download | external_webkit-62e1f86fe500eeb622fe50cdb5cc0e09e18069d1.zip external_webkit-62e1f86fe500eeb622fe50cdb5cc0e09e18069d1.tar.gz external_webkit-62e1f86fe500eeb622fe50cdb5cc0e09e18069d1.tar.bz2 |
compute select text distance biasing x over y
Rather than using a regular distance function, first
find the closest match in Y then look for the closest
match in X. This allows the touch point to be well to
the right or left of the paragraph and still move the
selection to the next or preceeding line while the
selection is extended.
bug:3183434
Change-Id: I6abf14b9dbca4b7bafe2cb9a96a2915732038ce1
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequest.cpp')
0 files changed, 0 insertions, 0 deletions