summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-09-30 10:24:19 -0400
committerCary Clark <cary@android.com>2009-09-30 10:52:14 -0400
commit0c5924e9dd1befadae8c73505d3acc9813bf8224 (patch)
treea5d9bdd2ec1b503b7c52c9603445e708a30bb183 /opengl/tests/gl_basic/gl_basic.cpp
parentb386a86c1c131832c8f9955a5a57a2fa13609d15 (diff)
preserve webkit-side text selection
When webkit modifies a text field programmatically, it may change the selection. This competes with the UI thread attempting to set the selection in response to the IME next button and changes made by the trackball. One recent fix (https://android-git.corp.google.com/g/#change,26904) sets the selection from the UI side after the IME generated click. Unfortunately, this can be generated under other circumstances, so this change qualifies this with mOkayForFocusNotToMatch, which is only set after the IME next button is pressed. The other change qualfies onTextChanged calls so that if it was triggered by setTextAndKeepSelection, the webkit-side selection is unchanged. fixes http://b/issue?id=2096746
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions