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

Issue 14631022: Add support for blue buttons. (Closed)

Created:
7 years, 7 months ago by benwells
Modified:
7 years, 6 months ago
Reviewers:
msw, reed1, oshima, sky, tfarina
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, oshima+watch_chromium.org, reed1, Dan Beam, xiyuan
Visibility:
Public.

Description

Add support for blue buttons. This also uses the new blue button style for the app launcher signin button. Binaries were landed in: https://codereview.chromium.org/15848008/ BUG=159733 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203089

Patch Set 1 #

Total comments: 18

Patch Set 2 : Feedback #

Total comments: 8

Patch Set 3 : More feedback #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Introduce blue_button.[h|cc] #

Patch Set 6 : Comment updated #

Total comments: 16

Patch Set 7 : Feedback #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -4 lines) Patch
M ui/app_list/views/signin_view.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
A ui/views/controls/button/blue_button.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
A ui/views/controls/button/blue_button.cc View 1 2 3 4 5 6 1 chunk +78 lines, -0 lines 0 comments Download
M ui/views/controls/button/button.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
benwells
7 years, 7 months ago (2013-05-13 08:07:01 UTC) #1
msw
https://chromiumcodereview.appspot.com/14631022/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://chromiumcodereview.appspot.com/14631022/diff/1/ui/views/controls/button/label_button.cc#newcode31 ui/views/controls/button/label_button.cc:31: const SkColor kBlueButtonDisabledColor = SK_ColorWHITE; nit: consider using a ...
7 years, 7 months ago (2013-05-13 18:27:20 UTC) #2
benwells
https://codereview.chromium.org/14631022/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/14631022/diff/1/ui/views/controls/button/label_button.cc#newcode159 ui/views/controls/button/label_button.cc:159: if (label_->enabled() && !explicitly_set_colors_[state()]) On 2013/05/13 18:27:20, msw wrote: ...
7 years, 7 months ago (2013-05-14 11:30:43 UTC) #3
msw
+CC Mike Reed for a skia expert's take on the image compositing question in: ui/views/controls/button/label_button_border.cc ...
7 years, 7 months ago (2013-05-14 16:20:02 UTC) #4
reed1
drive by question: Are you trying to compute some weighted average of two src-images, and ...
7 years, 7 months ago (2013-05-14 17:41:47 UTC) #5
msw
On 2013/05/14 17:41:47, reed1 wrote: > drive by question: > > Are you trying to ...
7 years, 7 months ago (2013-05-14 17:50:42 UTC) #6
benwells
On 2013/05/14 17:50:42, msw wrote: > On 2013/05/14 17:41:47, reed1 wrote: > > drive by ...
7 years, 7 months ago (2013-05-14 22:40:56 UTC) #7
msw
On 2013/05/14 22:40:56, benwells wrote: > On 2013/05/14 17:50:42, msw wrote: > > On 2013/05/14 ...
7 years, 7 months ago (2013-05-15 02:33:12 UTC) #8
benwells
https://codereview.chromium.org/14631022/diff/1/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/14631022/diff/1/ui/views/controls/button/label_button.cc#newcode31 ui/views/controls/button/label_button.cc:31: const SkColor kBlueButtonDisabledColor = SK_ColorWHITE; On 2013/05/13 18:27:20, msw ...
7 years, 7 months ago (2013-05-16 11:01:13 UTC) #9
msw
https://codereview.chromium.org/14631022/diff/39001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/14631022/diff/39001/ui/views/controls/button/label_button.cc#newcode32 ui/views/controls/button/label_button.cc:32: // Blue button style default font color. you mean ...
7 years, 7 months ago (2013-05-16 17:07:35 UTC) #10
benwells
https://codereview.chromium.org/14631022/diff/39001/ui/views/controls/button/label_button.cc File ui/views/controls/button/label_button.cc (right): https://codereview.chromium.org/14631022/diff/39001/ui/views/controls/button/label_button.cc#newcode32 ui/views/controls/button/label_button.cc:32: // Blue button style default font color. On 2013/05/16 ...
7 years, 7 months ago (2013-05-17 02:24:32 UTC) #11
msw
Update the CL description (this no longer "also fixes a bug with the hover animations ...
7 years, 7 months ago (2013-05-17 02:36:21 UTC) #12
benwells
+sky for ui/views review +oshima for ui/resources review On 2013/05/17 02:36:21, msw wrote: > Update ...
7 years, 7 months ago (2013-05-17 04:00:26 UTC) #13
oshima
ui/resources lgtm
7 years, 7 months ago (2013-05-17 04:19:50 UTC) #14
sky
Why does this need to be done in views and not in chrome?
7 years, 7 months ago (2013-05-17 15:44:56 UTC) #15
msw
On 2013/05/17 15:44:56, sky wrote: > Why does this need to be done in views ...
7 years, 7 months ago (2013-05-17 17:13:34 UTC) #16
sky
Exactly. Styles declared in ui/views/control/button should be ones that we plan on using in lots ...
7 years, 7 months ago (2013-05-17 19:23:33 UTC) #17
tfarina
I think this is part of the work we are doing in crbug.com/155363. Mike should ...
7 years, 7 months ago (2013-05-17 19:43:35 UTC) #18
msw
I think the blue button might be used elsewhere, so u/v/c/b seems ok. But it ...
7 years, 7 months ago (2013-05-18 20:07:24 UTC) #19
benwells
On 2013/05/18 20:07:24, msw wrote: > I think the blue button might be used elsewhere, ...
7 years, 7 months ago (2013-05-20 04:28:28 UTC) #20
msw
On 2013/05/20 04:28:28, benwells wrote: > If it is structured like that it can be ...
7 years, 7 months ago (2013-05-20 06:42:43 UTC) #21
msw
On 2013/05/20 06:42:43, msw wrote: > I'd prefer to see it in u/v/c/b/, but leave ...
7 years, 7 months ago (2013-05-20 21:31:29 UTC) #22
sky
If we're going to use it in multiple places than I'm fine with it in ...
7 years, 7 months ago (2013-05-20 22:32:46 UTC) #23
Evan Stade
On 2013/05/20 21:31:29, msw wrote: > On 2013/05/20 06:42:43, msw wrote: > > I'd prefer ...
7 years, 7 months ago (2013-05-21 01:53:23 UTC) #24
benwells
Updated per msw's suggestions. I haven't added the factory constructor yet, should that be on ...
7 years, 7 months ago (2013-05-24 07:44:21 UTC) #25
reed1
If you want to try the new mode for "lerping" between two images, try SkLerpXfermode. ...
7 years, 7 months ago (2013-05-24 11:58:55 UTC) #26
msw
LGTM with nits. I don't think you need a factory function for now. I'm hoping ...
7 years, 7 months ago (2013-05-24 16:14:28 UTC) #27
tfarina
https://codereview.chromium.org/14631022/diff/136004/ui/views/controls/button/blue_button.h File ui/views/controls/button/blue_button.h (right): https://codereview.chromium.org/14631022/diff/136004/ui/views/controls/button/blue_button.h#newcode8 ui/views/controls/button/blue_button.h:8: #include <string> remove, unused. https://codereview.chromium.org/14631022/diff/136004/ui/views/controls/button/blue_button.h#newcode16 ui/views/controls/button/blue_button.h:16: // A native ...
7 years, 7 months ago (2013-05-24 16:17:50 UTC) #28
benwells
sky: OWNERS review please. https://codereview.chromium.org/14631022/diff/136004/ui/views/controls/button/blue_button.cc File ui/views/controls/button/blue_button.cc (right): https://codereview.chromium.org/14631022/diff/136004/ui/views/controls/button/blue_button.cc#newcode43 ui/views/controls/button/blue_button.cc:43: button_border->SetPainter(false, Button::STATE_NORMAL, On 2013/05/24 16:14:28, ...
7 years, 7 months ago (2013-05-27 06:53:58 UTC) #29
sky
LGTM
7 years, 6 months ago (2013-05-28 14:21:04 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/14631022/165001
7 years, 6 months ago (2013-05-30 02:04:08 UTC) #31
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 05:52:33 UTC) #32
Message was sent while issue was closed.
Change committed as 203089

Powered by Google App Engine
This is Rietveld 408576698