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

Issue 2324913002: Updates to shelf icons for Ash material design (Closed)

Created:
4 years, 3 months ago by tdanderson
Modified:
4 years, 3 months ago
Reviewers:
James Cook, Evan Stade
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updates to shelf icons for Ash material design For the Ash material design shelf, update the launcher icon from a magnifying glass to a circle, and change the size of the notification bell from 18 to 16. BUG=634229, 641168 TEST=manual Committed: https://crrev.com/0fc25a75528b2134e31dd1fe29c443ae4994ab82 Cr-Commit-Position: refs/heads/master@{#418304}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : Evan's comments #

Total comments: 2

Patch Set 4 : remove size parameter #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -125 lines) Patch
M ash/common/shelf/app_list_button.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M ash/common/system/web_notification/web_notification_tray.cc View 1 2 3 7 chunks +10 lines, -19 lines 0 comments Download
M ash/resources/vector_icons/BUILD.gn View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A ash/resources/vector_icons/shelf_app_list.icon View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A ash/resources/vector_icons/shelf_app_list.1x.icon View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A + ash/resources/vector_icons/shelf_notifications.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + ash/resources/vector_icons/shelf_notifications.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
M ui/gfx/vector_icons/BUILD.gn View 1 1 chunk +0 lines, -4 lines 0 comments Download
D ui/gfx/vector_icons/shelf_applist.icon View 1 chunk +0 lines, -26 lines 0 comments Download
D ui/gfx/vector_icons/shelf_applist.1x.icon View 1 chunk +0 lines, -24 lines 0 comments Download
D ui/gfx/vector_icons/shelf_notifications.icon View 1 chunk +0 lines, -26 lines 0 comments Download
D ui/gfx/vector_icons/shelf_notifications.1x.icon View 1 chunk +0 lines, -26 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
tdanderson
Evan and James, can you please take a look?
4 years, 3 months ago (2016-09-08 18:53:19 UTC) #4
James Cook
LGTM https://codereview.chromium.org/2324913002/diff/1/ash/resources/vector_icons/BUILD.gn File ash/resources/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2324913002/diff/1/ash/resources/vector_icons/BUILD.gn#newcode11 ash/resources/vector_icons/BUILD.gn:11: "shelf_applist.1x.icon", Thanks for migrating these into //ash.
4 years, 3 months ago (2016-09-08 20:23:44 UTC) #7
tdanderson
On 2016/09/08 20:23:44, James Cook wrote: > LGTM > > https://codereview.chromium.org/2324913002/diff/1/ash/resources/vector_icons/BUILD.gn > File ash/resources/vector_icons/BUILD.gn (right): ...
4 years, 3 months ago (2016-09-09 20:25:39 UTC) #12
Evan Stade
https://codereview.chromium.org/2324913002/diff/20001/ash/common/system/web_notification/web_notification_tray.cc File ash/common/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/2324913002/diff/20001/ash/common/system/web_notification/web_notification_tray.cc#newcode313 ash/common/system/web_notification/web_notification_tray.cc:313: bell_image = CreateVectorIcon(kShelfNotificationsIcon, kShelfIconColor); ternary operator? https://codereview.chromium.org/2324913002/diff/20001/ash/resources/vector_icons/shelf_applist.icon File ash/resources/vector_icons/shelf_applist.icon ...
4 years, 3 months ago (2016-09-09 20:39:56 UTC) #13
tdanderson
Evan, please take another look. https://codereview.chromium.org/2324913002/diff/20001/ash/common/system/web_notification/web_notification_tray.cc File ash/common/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/2324913002/diff/20001/ash/common/system/web_notification/web_notification_tray.cc#newcode313 ash/common/system/web_notification/web_notification_tray.cc:313: bell_image = CreateVectorIcon(kShelfNotificationsIcon, kShelfIconColor); ...
4 years, 3 months ago (2016-09-09 21:15:10 UTC) #16
Evan Stade
https://codereview.chromium.org/2324913002/diff/40001/ash/common/system/web_notification/web_notification_tray.cc File ash/common/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/2324913002/diff/40001/ash/common/system/web_notification/web_notification_tray.cc#newcode246 ash/common/system/web_notification/web_notification_tray.cc:246: gfx::Size size, nit: const ref on size. but better ...
4 years, 3 months ago (2016-09-12 21:28:28 UTC) #19
tdanderson
Evan, please take another look. cc yoshiki@ as FYI. https://codereview.chromium.org/2324913002/diff/40001/ash/common/system/web_notification/web_notification_tray.cc File ash/common/system/web_notification/web_notification_tray.cc (right): https://codereview.chromium.org/2324913002/diff/40001/ash/common/system/web_notification/web_notification_tray.cc#newcode246 ash/common/system/web_notification/web_notification_tray.cc:246: ...
4 years, 3 months ago (2016-09-13 16:48:04 UTC) #22
Evan Stade
lgtm
4 years, 3 months ago (2016-09-13 17:29:45 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/2324913002/60001
4 years, 3 months ago (2016-09-13 18:20:39 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-13 18:26:23 UTC) #29
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0fc25a75528b2134e31dd1fe29c443ae4994ab82 Cr-Commit-Position: refs/heads/master@{#418304}
4 years, 3 months ago (2016-09-13 18:28:31 UTC) #31
yoshiki
4 years, 3 months ago (2016-09-20 11:32:02 UTC) #32
Message was sent while issue was closed.
On 2016/09/12 21:28:28, Evan Stade wrote:
>
https://codereview.chromium.org/2324913002/diff/40001/ash/common/system/web_n...
> File ash/common/system/web_notification/web_notification_tray.cc (right):
> 
>
https://codereview.chromium.org/2324913002/diff/40001/ash/common/system/web_n...
> ash/common/system/web_notification/web_notification_tray.cc:246: gfx::Size
size,
> nit: const ref on size.
> 
> but better yet, why not remove size? ImageSkia has a size and it looks like
it's
> always the same here. You can probably just remove size and SetImageSize?

Sorry, I missed this CL. 

This is necessary and please not remove this. Some icons come from external
application or extension, so we need to set the image size to align the icon
sizes.

Powered by Google App Engine
This is Rietveld 408576698