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

Issue 2769493002: [MD settings] Scale avatar icon. (Closed)

Created:
3 years, 9 months ago by dschuyler
Modified:
3 years, 9 months ago
Reviewers:
tommycli, Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL description became obsolete. The actual change scales the icon in c++ before passing it down. The border radius is still used. I'm leaving the description below intact since that is what will appear in the git log. [MD settings] border radius to clip path on avatar icon This CL changes the way the avatar icon is clipped so that it doesn't appear to be cut off on the right edge. BUG=625773 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2769493002 Cr-Commit-Position: refs/heads/master@{#458845} Committed: https://chromium.googlesource.com/chromium/src/+/d5d274510522f75f93dfb4c79de24e1a6d301203

Patch Set 1 #

Total comments: 2

Patch Set 2 : aternate #

Total comments: 2

Patch Set 3 : merge with master #

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

Messages

Total messages: 34 (23 generated)
dschuyler
The clip radius is slightly smaller than half the image size so that there is ...
3 years, 9 months ago (2017-03-21 21:55:29 UTC) #5
tommycli
https://codereview.chromium.org/2769493002/diff/1/chrome/browser/resources/settings/people_page/people_page.html File chrome/browser/resources/settings/people_page/people_page.html (right): https://codereview.chromium.org/2769493002/diff/1/chrome/browser/resources/settings/people_page/people_page.html#newcode48 chrome/browser/resources/settings/people_page/people_page.html:48: clip-path: circle(19px at center); Looks like the root cause ...
3 years, 9 months ago (2017-03-21 22:29:53 UTC) #6
tommycli
On 2017/03/21 22:29:53, tommycli wrote: > https://codereview.chromium.org/2769493002/diff/1/chrome/browser/resources/settings/people_page/people_page.html > File chrome/browser/resources/settings/people_page/people_page.html (right): > > https://codereview.chromium.org/2769493002/diff/1/chrome/browser/resources/settings/people_page/people_page.html#newcode48 > ...
3 years, 9 months ago (2017-03-21 22:31:43 UTC) #7
dschuyler
https://codereview.chromium.org/2769493002/diff/1/chrome/browser/resources/settings/people_page/people_page.html File chrome/browser/resources/settings/people_page/people_page.html (right): https://codereview.chromium.org/2769493002/diff/1/chrome/browser/resources/settings/people_page/people_page.html#newcode48 chrome/browser/resources/settings/people_page/people_page.html:48: clip-path: circle(19px at center); On 2017/03/21 22:29:53, tommycli wrote: ...
3 years, 9 months ago (2017-03-21 23:27:15 UTC) #17
tommycli
lgtm, and i suspect you will need to update a test. https://codereview.chromium.org/2769493002/diff/40001/chrome/browser/ui/webui/settings/profile_info_handler.cc File chrome/browser/ui/webui/settings/profile_info_handler.cc (right): ...
3 years, 9 months ago (2017-03-22 00:00:23 UTC) #18
dschuyler
https://codereview.chromium.org/2769493002/diff/40001/chrome/browser/ui/webui/settings/profile_info_handler.cc File chrome/browser/ui/webui/settings/profile_info_handler.cc (right): https://codereview.chromium.org/2769493002/diff/40001/chrome/browser/ui/webui/settings/profile_info_handler.cc#newcode41 chrome/browser/ui/webui/settings/profile_info_handler.cc:41: const int kAvatarIconSize = 40; On 2017/03/22 00:00:22, tommycli ...
3 years, 9 months ago (2017-03-22 18:16:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2769493002/60001
3 years, 9 months ago (2017-03-22 18:56:13 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/d5d274510522f75f93dfb4c79de24e1a6d301203
3 years, 9 months ago (2017-03-22 19:42:33 UTC) #29
Dan Beam
next time can you update the CL description as a review progresses?
3 years, 9 months ago (2017-03-23 00:47:54 UTC) #31
dschuyler
On 2017/03/23 00:47:54, Dan Beam wrote: > next time can you update the CL description ...
3 years, 9 months ago (2017-03-23 00:57:32 UTC) #33
Dan Beam
3 years, 9 months ago (2017-03-23 01:01:00 UTC) #34
Message was sent while issue was closed.
On 2017/03/23 00:57:32, dschuyler wrote:
> On 2017/03/23 00:47:54, Dan Beam wrote:
> > next time can you update the CL description as a review progresses?
> 
> I made a note about the description being out of date. Iiuc the horse is
already
> out of the barn on this, since git will already have the old description(?).

yeah, just for future horses in barns...

Powered by Google App Engine
This is Rietveld 408576698