Match the NativeTextfieldViews cursor color to the text color.
The NativeTextfieldViews cursor color is hard-coded black. Instead, set the cursor color to Textfield::GetTextColor. This supports more Windows high-contrast black themes, etc. However, if Windows has red text, they'll get red cursors. (I think accessibility trumps that questionable coloring) (also, the native behavior is worse in my ugly test theme) BUG=252385,131660 TEST=Views Textfields cursors match their overall text color; meets accessibility requirements without other seriously negative effects. R=oshima@chromium.org Review URL: https://chromiumcodereview.appspot.com/17517005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207795 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment