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

Issue 120823003: [Views] Only paint background of text portion of LabelButton in inverted color theme. (Closed)

Created:
6 years, 11 months ago by Greg Billock
Modified:
6 years, 11 months ago
Reviewers:
msw, Peter Kasting, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

[Views] Only paint background of text portion of LabelButton in inverted color theme. R=msw@chromium.org BUG=330067 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243402

Patch Set 1 #

Total comments: 4

Patch Set 2 : label_ #

Total comments: 7

Patch Set 3 : Put back buttons on theme change #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

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

Messages

Total messages: 16 (0 generated)
Greg Billock
6 years, 11 months ago (2014-01-02 23:06:50 UTC) #1
msw
LGTM with nits; thanks! https://codereview.chromium.org/120823003/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/1/ui/views/controls/button/label_button.cc#newcode282 ui/views/controls/button/label_button.cc:282: canvas->FillRect(rect, label()->background_color()); nit: s/label()/label_/; inline ...
6 years, 11 months ago (2014-01-03 00:16:39 UTC) #2
Greg Billock
+sky for owners https://codereview.chromium.org/120823003/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/1/ui/views/controls/button/label_button.cc#newcode282 ui/views/controls/button/label_button.cc:282: canvas->FillRect(rect, label()->background_color()); On 2014/01/03 00:16:39, msw ...
6 years, 11 months ago (2014-01-06 17:29:20 UTC) #3
sky
https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if (gfx::IsInvertedColorScheme()) This ends up being after the border ...
6 years, 11 months ago (2014-01-06 20:20:36 UTC) #4
Greg Billock
https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if (gfx::IsInvertedColorScheme()) On 2014/01/06 20:20:37, sky wrote: > This ...
6 years, 11 months ago (2014-01-06 21:13:44 UTC) #5
msw
https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if (gfx::IsInvertedColorScheme()) On 2014/01/06 21:13:44, Greg Billock wrote: > ...
6 years, 11 months ago (2014-01-06 21:50:56 UTC) #6
Greg Billock
https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if (gfx::IsInvertedColorScheme()) On 2014/01/06 21:50:57, msw wrote: > On ...
6 years, 11 months ago (2014-01-06 22:14:46 UTC) #7
msw
https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if (gfx::IsInvertedColorScheme()) On 2014/01/06 22:14:46, Greg Billock wrote: > ...
6 years, 11 months ago (2014-01-06 22:34:54 UTC) #8
Greg Billock
https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if (gfx::IsInvertedColorScheme()) On 2014/01/06 22:34:55, msw wrote: > On ...
6 years, 11 months ago (2014-01-06 23:51:02 UTC) #9
msw
The latest patch set LGTM with a nit. https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/60001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: if ...
6 years, 11 months ago (2014-01-07 00:00:53 UTC) #10
sky
LGTM
6 years, 11 months ago (2014-01-07 00:23:59 UTC) #11
Greg Billock
https://codereview.chromium.org/120823003/diff/160001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/120823003/diff/160001/ui/views/controls/button/label_button.cc#newcode280 ui/views/controls/button/label_button.cc:280: On 2014/01/07 00:00:54, msw wrote: > nit: remove blank ...
6 years, 11 months ago (2014-01-07 17:29:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/120823003/210001
6 years, 11 months ago (2014-01-07 17:30:13 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242580
6 years, 11 months ago (2014-01-07 19:43:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/120823003/210001
6 years, 11 months ago (2014-01-07 19:47:25 UTC) #15
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 22:06:34 UTC) #16
Message was sent while issue was closed.
Change committed as 243402

Powered by Google App Engine
This is Rietveld 408576698