summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/PictureSet.h
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2010-05-20 13:34:36 -0400
committerCary Clark <cary@android.com>2010-05-21 13:37:30 -0400
commit0df9dc35976c248d3f486a51e719d54cb02d7351 (patch)
treebf3fd97ccba6f43294a7ae04228ecd97289dbd94 /WebKit/android/jni/PictureSet.h
parentc9aacd00d106d418276e0cacdaa82d2c51f90e66 (diff)
downloadexternal_webkit-0df9dc35976c248d3f486a51e719d54cb02d7351.zip
external_webkit-0df9dc35976c248d3f486a51e719d54cb02d7351.tar.gz
external_webkit-0df9dc35976c248d3f486a51e719d54cb02d7351.tar.bz2
reverse RTL characters in copy
Text is copied from the picture in visual left-to-right order. Reverse right-to-left substrings before returning the result. This algorithm for reversal is also used by webkit to draw text, and has the same limitations. This fixes text pasted into the title bar, but does not work correctly for text pasted into an input field -- LTR text is placed incorrectly -- but that's another bug. Change-Id: I4709b74e32495d4b77d33910ac8da34d4a88edd0 http://b/2525085
Diffstat (limited to 'WebKit/android/jni/PictureSet.h')
0 files changed, 0 insertions, 0 deletions