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

Issue 257843004: Add in resize logic for the non-badged icons. (Closed)

Created:
6 years, 7 months ago by Mike Lerman
Modified:
6 years, 7 months ago
Reviewers:
msw, noms (inactive)
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Add in resize logic for the non-badged icons. BUG=367022 TEST=The shadow icon should now show properly in the avatar menu. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267816

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change resize function used #

Total comments: 5

Patch Set 3 : Comment nit. #

Patch Set 4 : Use avatar_icon_util method to resize badged and non-badged icons. #

Total comments: 2

Patch Set 5 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
Mike Lerman
Hi Mike, Can you review this quick patch? Thanks! Mike
6 years, 7 months ago (2014-04-25 18:20:02 UTC) #1
msw
https://codereview.chromium.org/257843004/diff/1/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): https://codereview.chromium.org/257843004/diff/1/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode267 chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc:267: image_view_->SetImage(profiles::GetSizedAvatarIcon( The ImageView class comment says "If a size ...
6 years, 7 months ago (2014-04-25 19:50:44 UTC) #2
Mike Lerman
https://codereview.chromium.org/257843004/diff/1/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): https://codereview.chromium.org/257843004/diff/1/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode267 chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc:267: image_view_->SetImage(profiles::GetSizedAvatarIcon( On 2014/04/25 19:50:45, msw wrote: > The ImageView ...
6 years, 7 months ago (2014-04-28 13:21:26 UTC) #3
msw
https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode266 chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc:266: // The image may be too large are require ...
6 years, 7 months ago (2014-04-28 17:56:52 UTC) #4
Mike Lerman
https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode266 chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc:266: // The image may be too large are require ...
6 years, 7 months ago (2014-04-28 18:21:06 UTC) #5
msw
https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode267 chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc:267: image_view_->SetImageSize( On 2014/04/28 18:21:07, Mike Lerman wrote: > On ...
6 years, 7 months ago (2014-04-28 18:40:19 UTC) #6
Mike Lerman
On 2014/04/28 18:40:19, msw wrote: > https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc > File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): > > https://codereview.chromium.org/257843004/diff/20001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode267 > ...
6 years, 7 months ago (2014-04-29 18:21:30 UTC) #7
msw
On 2014/04/29 18:21:30, Mike Lerman wrote: > On 2014/04/28 18:40:19, msw wrote: > > > ...
6 years, 7 months ago (2014-04-29 19:25:46 UTC) #8
Mike Lerman
Okay Mike, Back to the original method, with tweaks of course from what we've learned ...
6 years, 7 months ago (2014-04-29 20:56:56 UTC) #9
msw
lgtm with a nit; sorry for the detour. https://codereview.chromium.org/257843004/diff/60001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc File chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc (right): https://codereview.chromium.org/257843004/diff/60001/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc#newcode265 chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc:265: if ...
6 years, 7 months ago (2014-04-29 21:25:10 UTC) #10
Mike Lerman
Hi Monica, Mike asked me to rope in someone more familiar with the code for ...
6 years, 7 months ago (2014-04-30 13:12:47 UTC) #11
noms (inactive)
I think it lgtm. Can you add some screenshots of how it's broken, and how ...
6 years, 7 months ago (2014-05-01 14:16:42 UTC) #12
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-01 18:12:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/257843004/80001
6 years, 7 months ago (2014-05-01 18:12:27 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 19:20:49 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-05-01 19:20:49 UTC) #16
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-01 19:57:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/257843004/80001
6 years, 7 months ago (2014-05-01 19:57:37 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 20:47:54 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-01 20:47:54 UTC) #20
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-02 14:15:17 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/257843004/80001
6 years, 7 months ago (2014-05-02 14:16:02 UTC) #22
commit-bot: I haz the power
6 years, 7 months ago (2014-05-02 16:51:10 UTC) #23
Message was sent while issue was closed.
Change committed as 267816

Powered by Google App Engine
This is Rietveld 408576698