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

Issue 2753833003: Create utility function for configuring an ImageButton to use a vector (Closed)

Created:
3 years, 9 months ago by Evan Stade
Modified:
3 years, 9 months ago
Reviewers:
Bret, sky, bruthig
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create utility function for configuring an ImageButton to use a vector icon. Intended to supplant VectorIconButton. BUG=691895

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -23 lines) Patch
M chrome/browser/ui/views/find_bar_view.h View 5 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/find_bar_view.cc View 6 chunks +12 lines, -15 lines 0 comments Download
M ui/views/controls/button/image_button.h View 2 chunks +10 lines, -0 lines 0 comments Download
M ui/views/controls/button/image_button.cc View 1 2 chunks +26 lines, -0 lines 3 comments Download

Messages

Total messages: 12 (2 generated)
bruthig
I do like this more for the simple cases like FIP. I think there may ...
3 years, 9 months ago (2017-03-16 14:49:56 UTC) #2
Evan Stade
bsep, what do you think? all, where should the function go?
3 years, 9 months ago (2017-03-16 17:39:45 UTC) #4
bruthig
My first reaction would be a image_button_util.(h|cc) file, but part of me wonders if it ...
3 years, 9 months ago (2017-03-16 18:26:07 UTC) #5
Evan Stade
https://codereview.chromium.org/2753833003/diff/20001/ui/views/controls/button/image_button.cc File ui/views/controls/button/image_button.cc (right): https://codereview.chromium.org/2753833003/diff/20001/ui/views/controls/button/image_button.cc#newcode305 ui/views/controls/button/image_button.cc:305: button->SetInkDropMode(CustomButton::InkDropMode::ON); On 2017/03/16 18:26:07, bruthig wrote: > I'm not ...
3 years, 9 months ago (2017-03-16 18:49:13 UTC) #6
Bret
> bsep, what do you think? Hmm, I like it. My first reaction was "oh ...
3 years, 9 months ago (2017-03-16 18:50:10 UTC) #7
bruthig
https://codereview.chromium.org/2753833003/diff/20001/ui/views/controls/button/image_button.cc File ui/views/controls/button/image_button.cc (right): https://codereview.chromium.org/2753833003/diff/20001/ui/views/controls/button/image_button.cc#newcode305 ui/views/controls/button/image_button.cc:305: button->SetInkDropMode(CustomButton::InkDropMode::ON); On 2017/03/16 18:49:13, Evan Stade wrote: > On ...
3 years, 9 months ago (2017-03-16 19:11:23 UTC) #8
Evan Stade
On 2017/03/16 19:11:23, bruthig wrote: > https://codereview.chromium.org/2753833003/diff/20001/ui/views/controls/button/image_button.cc > File ui/views/controls/button/image_button.cc (right): > > https://codereview.chromium.org/2753833003/diff/20001/ui/views/controls/button/image_button.cc#newcode305 > ...
3 years, 9 months ago (2017-03-16 19:16:28 UTC) #9
Evan Stade
On 2017/03/16 19:16:28, Evan Stade wrote: > On 2017/03/16 19:11:23, bruthig wrote: > > > ...
3 years, 9 months ago (2017-03-16 21:47:14 UTC) #10
Bret
> To be clear, I assume you are going to take over this change Bret? ...
3 years, 9 months ago (2017-03-16 21:54:45 UTC) #11
Evan Stade
3 years, 9 months ago (2017-03-18 01:04:21 UTC) #12
On 2017/03/16 21:54:45, Bret Sepulveda wrote:
> > To be clear, I assume you are going to take over this change Bret?
> 
> Yes, I'm working on it now. I'll split out the harmony-related changes too.

ok, closing.

Powered by Google App Engine
This is Rietveld 408576698