Compare selection models in Textfield::ExecuteCommand.
commitb33051fb01cb439c0bc5c7bf21748db9463acf1f
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 29 May 2014 19:28:49 +0000 (29 19:28 +0000)
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 29 May 2014 19:28:49 +0000 (29 19:28 +0000)
tree81c0152e5c3bf3f3bf817cee177a3f8da83a123f
parent7f70e5f391ea5c3fe74a0ebc6d42fffe7a5cf6c7
Compare selection models in Textfield::ExecuteCommand.

Comparing selection ranges gives an incomplete signal.
(it doesn't consider changes to cursor affinity)

Fixes caret painting when traversing single char BiDi runs.

BUG=377866
TEST=Omnibox cursor painting when arrowing over "dfאqw".
R=oshima@chromium.org

Review URL: https://codereview.chromium.org/305723006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273544 0039d316-1c4b-4281-b951-d872f2087c98
ui/views/controls/textfield/textfield.cc