Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Issue 17517005: Match the NativeTextfieldViews cursor color to the text color. (Closed)

Created:
7 years, 6 months ago by msw
Modified:
7 years, 6 months ago
Reviewers:
oshima
CC:
chromium-reviews, nona+watch_chromium.org, tfarina, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org, Peter Kasting, dmazzoni
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207795

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M ui/views/controls/textfield/native_textfield_views.cc View 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
msw
Hey Oshima, please take a look; thanks!
7 years, 6 months ago (2013-06-20 23:23:02 UTC) #1
oshima
lgtm
7 years, 6 months ago (2013-06-20 23:27:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/17517005/1
7 years, 6 months ago (2013-06-20 23:28:56 UTC) #3
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 10:35:53 UTC) #4
Message was sent while issue was closed.
Change committed as 207795

Powered by Google App Engine
This is Rietveld 408576698