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

Issue 23534062: Fix Views blue button's blurry text on Aura. (Closed)

Created:
7 years, 3 months ago by msw
Modified:
7 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, Evan Stade, benwells
Visibility:
Public.

Description

Fix Views blue button's blurry text on Aura. Views::BlueButton text was appearing blurry in Aura. (View::AddChildViewAt fires PropagateNativeThemeChanged) Make LabelButton::ResetColorsFromNativeTheme virtual. Override in BlueButton subclass with needed colors. See before/after pics at http://crbug.com/274657#c11 BUG=274657 TEST=Blue button text does not appear blurry on Win/CrOS Aura. R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223640

Patch Set 1 #

Patch Set 2 : Only disable blue button sub-pixel anti-aliasing on Aura. #

Patch Set 3 : Make LabelButton::ResetColorsFromNativeTheme virtual; override for BlueButton. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M ui/views/controls/button/blue_button.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/button/blue_button.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M ui/views/controls/button/label_button.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 4 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
msw
Hey Scott, please take a look; thanks!
7 years, 3 months ago (2013-09-17 01:14:57 UTC) #1
sky
LGTM
7 years, 3 months ago (2013-09-17 15:45:51 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/23534062/11001
7 years, 3 months ago (2013-09-17 16:11:35 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-17 18:26:38 UTC) #4
Message was sent while issue was closed.
Change committed as 223640

Powered by Google App Engine
This is Rietveld 408576698