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

Issue 288983010: fix text color of BlueButton on GTK-theme-mode Linux Aura. (Closed)

Created:
6 years, 7 months ago by Evan Stade
Modified:
6 years, 6 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

fix text color of BlueButton on GTK-theme-mode Linux Aura. BUG=375350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275225

Patch Set 1 #

Total comments: 2

Patch Set 2 : set bg color based on state #

Total comments: 4

Patch Set 3 : themify colors instead #

Total comments: 12

Patch Set 4 : CallToAction->Blue #

Patch Set 5 : add colors to common theme #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -4 lines) Patch
M chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M ui/native_theme/common_theme.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M ui/native_theme/fallback_theme.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/controls/button/blue_button.cc View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Evan Stade
6 years, 7 months ago (2014-05-23 21:04:09 UTC) #1
Elliot Glaysher
https://codereview.chromium.org/288983010/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/288983010/diff/1/ui/views/controls/button/label_button.cc#newcode373 ui/views/controls/button/label_button.cc:373: label_->SetAutoColorReadabilityEnabled(border() != default_border); Do we want to be executing ...
6 years, 7 months ago (2014-05-23 21:07:01 UTC) #2
Evan Stade
+msw for special insights into what I might be breaking https://codereview.chromium.org/288983010/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/288983010/diff/1/ui/views/controls/button/label_button.cc#newcode373 ...
6 years, 7 months ago (2014-05-23 23:39:53 UTC) #3
Elliot Glaysher
ping msw
6 years, 6 months ago (2014-05-28 19:09:33 UTC) #4
msw
https://codereview.chromium.org/288983010/diff/20001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/288983010/diff/20001/ui/views/controls/button/label_button.cc#newcode383 ui/views/controls/button/label_button.cc:383: label_->SetBackgroundColor(GetNativeTheme()->GetSystemColor( Does this work right if gfx::IsInvertedColorScheme() adds a ...
6 years, 6 months ago (2014-05-29 02:03:54 UTC) #5
Evan Stade
https://codereview.chromium.org/288983010/diff/20001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/288983010/diff/20001/ui/views/controls/button/label_button.cc#newcode383 ui/views/controls/button/label_button.cc:383: label_->SetBackgroundColor(GetNativeTheme()->GetSystemColor( On 2014/05/29 02:03:55, msw wrote: > Does this ...
6 years, 6 months ago (2014-05-29 19:04:44 UTC) #6
msw
https://codereview.chromium.org/288983010/diff/20001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/288983010/diff/20001/ui/views/controls/button/label_button.cc#newcode371 ui/views/controls/button/label_button.cc:371: label_->SetAutoColorReadabilityEnabled(border() != default_border); Should the label background color be ...
6 years, 6 months ago (2014-05-29 19:52:23 UTC) #7
Evan Stade
I changed this patch significantly in order to make it less disruptive and also to ...
6 years, 6 months ago (2014-05-30 01:02:41 UTC) #8
Evan Stade
+ben for OWNERS
6 years, 6 months ago (2014-05-30 01:02:57 UTC) #9
Elliot Glaysher
This approach looks much better. LGTM.
6 years, 6 months ago (2014-05-30 19:05:43 UTC) #10
Evan Stade
ping ben, msw
6 years, 6 months ago (2014-06-02 18:30:55 UTC) #11
msw
https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode239 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:239: // TODO(estade): determine a more distinct color for the ...
6 years, 6 months ago (2014-06-02 21:06:20 UTC) #12
Evan Stade
https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode239 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:239: // TODO(estade): determine a more distinct color for the ...
6 years, 6 months ago (2014-06-02 22:18:14 UTC) #13
msw
Can you post some screenshots on the bug? Are BlueButtons not blue in the GTK-theme-mode? ...
6 years, 6 months ago (2014-06-02 22:39:44 UTC) #14
Evan Stade
On 2014/06/02 22:39:44, msw wrote: > Can you post some screenshots on the bug? I ...
6 years, 6 months ago (2014-06-03 00:54:16 UTC) #15
msw
On 2014/06/03 00:54:16, Evan Stade wrote: > On 2014/06/02 22:39:44, msw wrote: > > Can ...
6 years, 6 months ago (2014-06-03 02:10:09 UTC) #16
Evan Stade
On 2014/06/03 02:10:09, msw wrote: > On 2014/06/03 00:54:16, Evan Stade wrote: > > On ...
6 years, 6 months ago (2014-06-03 02:14:51 UTC) #17
msw
On 2014/06/03 02:14:51, Evan Stade wrote: > On 2014/06/03 02:10:09, msw wrote: > > Let's ...
6 years, 6 months ago (2014-06-03 03:08:21 UTC) #18
Evan Stade
On 2014/06/03 03:08:21, msw wrote: > On 2014/06/03 02:14:51, Evan Stade wrote: > > On ...
6 years, 6 months ago (2014-06-03 21:58:36 UTC) #19
msw
On 2014/06/03 21:58:36, Evan Stade wrote: > On 2014/06/03 03:08:21, msw wrote: > > On ...
6 years, 6 months ago (2014-06-03 22:20:41 UTC) #20
Evan Stade
screenshots posted https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode241 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:241: case kColorId_CallToActionButtonEnabledColor: On 2014/06/03 22:20:41, msw wrote: ...
6 years, 6 months ago (2014-06-03 23:16:12 UTC) #21
msw
Shrug, lgtm https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode241 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:241: case kColorId_CallToActionButtonEnabledColor: On 2014/06/03 23:16:12, Evan Stade ...
6 years, 6 months ago (2014-06-03 23:24:52 UTC) #22
Evan Stade
https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/288983010/diff/40001/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode241 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:241: case kColorId_CallToActionButtonEnabledColor: On 2014/06/03 23:24:52, msw wrote: > On ...
6 years, 6 months ago (2014-06-04 00:12:10 UTC) #23
Evan Stade
ping Ben
6 years, 6 months ago (2014-06-04 00:12:18 UTC) #24
Ben Goodger (Google)
lgtm
6 years, 6 months ago (2014-06-04 15:54:01 UTC) #25
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 6 months ago (2014-06-04 20:59:58 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/288983010/60001
6 years, 6 months ago (2014-06-04 21:03:06 UTC) #27
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 01:45:36 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 03:20:28 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/23832)
6 years, 6 months ago (2014-06-05 03:20:28 UTC) #30
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 6 months ago (2014-06-05 16:32:37 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/288983010/80001
6 years, 6 months ago (2014-06-05 16:36:38 UTC) #32
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 20:01:54 UTC) #33
Message was sent while issue was closed.
Change committed as 275225

Powered by Google App Engine
This is Rietveld 408576698