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

Issue 2002293002: Use vector icon for Ash shelf launcher (Closed)

Created:
4 years, 7 months ago by tdanderson
Modified:
4 years, 6 months ago
CC:
chromium-reviews, kalyank, sadrul, yiyix
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use vector icon for Ash shelf launcher Introduce new vector icons for the launcher in the material design shelf, which is currently off by default behind --ash-md. This CL also adds support for drawing elliptical arcs in .icon files, which are needed for this particular icon. BUG=595015, 605643, 617289 TEST=manual Committed: https://crrev.com/aa185fbd0b0fcdf687f3752c41b3f6ef88380137 Cr-Commit-Position: refs/heads/master@{#398821}

Patch Set 1 #

Patch Set 2 : remove include #

Total comments: 2

Patch Set 3 : don't rename file #

Total comments: 2

Patch Set 4 : add arc support, include .icon files #

Total comments: 8

Patch Set 5 : comments addressed #

Patch Set 6 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -17 lines) Patch
M ash/common/shelf/shelf_constants.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/common/shelf/shelf_constants.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/resources/ash_resources.grd View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D ash/resources/default_100_percent/common/shelf/status_app_menu_icon.png View Binary file 0 comments Download
D ash/resources/default_200_percent/common/shelf/status_app_menu_icon.png View Binary file 0 comments Download
M ash/shelf/app_list_button.cc View 1 2 3 4 5 4 chunks +18 lines, -16 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/paint_vector_icon.cc View 1 2 3 2 chunks +34 lines, -0 lines 1 comment Download
M ui/gfx/vector_icon_types.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/shelf_applist.icon View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/shelf_applist.1x.icon View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (14 generated)
tdanderson
Evan, can you please take a first look (and also see my inline comment)? https://codereview.chromium.org/2002293002/diff/20001/ash/shelf/app_list_button.cc ...
4 years, 7 months ago (2016-05-23 21:18:24 UTC) #2
Evan Stade
omnibox_search.icon probably shouldn't be renamed because it's not the same as https://icons.googleplex.com/#icon=ic_search (and the naming ...
4 years, 7 months ago (2016-05-23 22:11:58 UTC) #3
tdanderson
On 2016/05/23 22:11:58, Evan Stade wrote: > omnibox_search.icon probably shouldn't be renamed because it's not ...
4 years, 7 months ago (2016-05-23 23:14:08 UTC) #4
tdanderson
oshima@, can you please take a look?
4 years, 7 months ago (2016-05-23 23:15:17 UTC) #6
oshima
https://codereview.chromium.org/2002293002/diff/40001/ash/shelf/app_list_button.cc File ash/shelf/app_list_button.cc (right): https://codereview.chromium.org/2002293002/diff/40001/ash/shelf/app_list_button.cc#newcode130 ash/shelf/app_list_button.cc:130: gfx::CreateVectorIcon(gfx::VectorIconId::OMNIBOX_SEARCH, This conceptually creates chrome -> ash dependency, doesn't ...
4 years, 7 months ago (2016-05-23 23:41:33 UTC) #7
Evan Stade
https://codereview.chromium.org/2002293002/diff/40001/ash/shelf/app_list_button.cc File ash/shelf/app_list_button.cc (right): https://codereview.chromium.org/2002293002/diff/40001/ash/shelf/app_list_button.cc#newcode130 ash/shelf/app_list_button.cc:130: gfx::CreateVectorIcon(gfx::VectorIconId::OMNIBOX_SEARCH, On 2016/05/23 23:41:33, oshima wrote: > This conceptually ...
4 years, 7 months ago (2016-05-23 23:51:34 UTC) #8
oshima
On 2016/05/23 23:51:34, Evan Stade wrote: > https://codereview.chromium.org/2002293002/diff/40001/ash/shelf/app_list_button.cc > File ash/shelf/app_list_button.cc (right): > > https://codereview.chromium.org/2002293002/diff/40001/ash/shelf/app_list_button.cc#newcode130 ...
4 years, 6 months ago (2016-05-26 22:09:55 UTC) #10
Evan Stade
lgtm
4 years, 6 months ago (2016-06-02 00:06:15 UTC) #11
tdanderson
Oshima and Evan, please take another look. After working with design I'm introducing new .icon ...
4 years, 6 months ago (2016-06-06 16:47:17 UTC) #13
tdanderson
On 2016/06/06 16:47:17, tdanderson wrote: > Oshima and Evan, please take another look. After working ...
4 years, 6 months ago (2016-06-07 14:04:49 UTC) #14
tdanderson
James, can you please take a look?
4 years, 6 months ago (2016-06-07 14:05:11 UTC) #16
James Cook
https://chromiumcodereview.appspot.com/2002293002/diff/60001/ash/common/shelf/shelf_constants.cc File ash/common/shelf/shelf_constants.cc (right): https://chromiumcodereview.appspot.com/2002293002/diff/60001/ash/common/shelf/shelf_constants.cc#newcode16 ash/common/shelf/shelf_constants.cc:16: const SkColor kShelfIconColor = SK_ColorWHITE; nit: Either no blank ...
4 years, 6 months ago (2016-06-07 15:51:52 UTC) #17
tdanderson
James, your comments have been addressed, please take another look. Sadrul, looks like Evan is ...
4 years, 6 months ago (2016-06-08 17:29:27 UTC) #19
sadrul
lgtm
4 years, 6 months ago (2016-06-08 17:41:47 UTC) #20
James Cook
lgtm
4 years, 6 months ago (2016-06-08 18:05:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002293002/100001
4 years, 6 months ago (2016-06-08 23:38:51 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/84578)
4 years, 6 months ago (2016-06-09 00:58:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002293002/100001
4 years, 6 months ago (2016-06-09 01:41:21 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/84716)
4 years, 6 months ago (2016-06-09 04:29:57 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002293002/100001
4 years, 6 months ago (2016-06-09 08:43:00 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-09 09:18:28 UTC) #34
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/aa185fbd0b0fcdf687f3752c41b3f6ef88380137 Cr-Commit-Position: refs/heads/master@{#398821}
4 years, 6 months ago (2016-06-09 09:19:44 UTC) #36
Evan Stade
https://chromiumcodereview.appspot.com/2002293002/diff/100001/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://chromiumcodereview.appspot.com/2002293002/diff/100001/ui/gfx/paint_vector_icon.cc#newcode161 ui/gfx/paint_vector_icon.cc:161: arc_sweep_flag ? SkPath::kCW_Direction : SkPath::kCCW_Direction, dang this arc thing ...
4 years, 6 months ago (2016-06-10 20:42:22 UTC) #37
tdanderson
4 years, 6 months ago (2016-06-15 16:15:41 UTC) #38
Message was sent while issue was closed.
On 2016/06/10 20:42:22, Evan Stade wrote:
>
https://chromiumcodereview.appspot.com/2002293002/diff/100001/ui/gfx/paint_ve...
> File ui/gfx/paint_vector_icon.cc (right):
> 
>
https://chromiumcodereview.appspot.com/2002293002/diff/100001/ui/gfx/paint_ve...
> ui/gfx/paint_vector_icon.cc:161: arc_sweep_flag ? SkPath::kCW_Direction :
> SkPath::kCCW_Direction,
> dang this arc thing is a crazy command.
> 
> Can we share the crazy between R_ARC_TO and ARC_TO? Just split on the function
> that's called (using fn ptrs?)

Evan, yes I can do this: crbug.com/620345 to track

Powered by Google App Engine
This is Rietveld 408576698