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

Issue 1313603003: Vectorize website settings icons in omnibox (Closed)

Created:
5 years, 4 months ago by Evan Stade
Modified:
5 years, 3 months ago
Reviewers:
tdanderson, sky
CC:
chromium-reviews, tfarina, tdanderson, shrike
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Vectorize website settings icons in omnibox unlike other icon vectorization/MD work, this does respect the --top-chrome-md flag, because these icons live in the omnibox and look funky if you put them in the old omnibox. BUG=505953, 514718 Committed: https://crrev.com/7ca51e26dc7316b50d5f96e4e1b4312584cb995f Cr-Commit-Position: refs/heads/master@{#346432}

Patch Set 1 #

Patch Set 2 : progress #

Patch Set 3 : --top-chrome-md only #

Patch Set 4 : fix osx #

Total comments: 2

Patch Set 5 : sky review, git add stuff, fix GN #

Total comments: 2

Patch Set 6 : add halo, rename fn #

Total comments: 2

Patch Set 7 : unit test fix #

Patch Set 8 : change DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -93 lines) Patch
M chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm View 1 2 3 2 chunks +3 lines, -8 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.h View 1 2 3 4 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model.cc View 1 2 3 4 5 6 7 11 chunks +119 lines, -16 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.cc View 2 chunks +1 line, -3 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 3 chunks +4 lines, -0 lines 0 comments Download
M ui/gfx/paint_vector_icon.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/paint_vector_icon.cc View 1 2 3 4 5 9 chunks +48 lines, -12 lines 0 comments Download
M ui/gfx/vector_icon_types.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/blocked_badge.icon View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/code.icon View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M ui/gfx/vector_icons/cookie.icon View 1 2 1 chunk +48 lines, -47 lines 0 comments Download
A ui/gfx/vector_icons/mixed_content.icon View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A ui/gfx/vector_icons/web.icon View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
Evan Stade
+sky for review +tdanderson, shrike FYI https://codereview.chromium.org/1313603003/diff/60001/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm File chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm (left): https://codereview.chromium.org/1313603003/diff/60001/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm#oldcode181 chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm:181: int old_icon = ...
5 years, 3 months ago (2015-08-26 22:57:53 UTC) #2
sky
Don't you need to add the new icons to build files? Assuming you do that, ...
5 years, 3 months ago (2015-08-26 23:27:00 UTC) #3
tdanderson
https://codereview.chromium.org/1313603003/diff/80001/chrome/browser/ui/content_settings/content_setting_image_model.cc File chrome/browser/ui/content_settings/content_setting_image_model.cc (right): https://codereview.chromium.org/1313603003/diff/80001/chrome/browser/ui/content_settings/content_setting_image_model.cc#newcode29 chrome/browser/ui/content_settings/content_setting_image_model.cc:29: bool IsMaterial() { This function shouldn't be necessary. IsModeMaterial() ...
5 years, 3 months ago (2015-08-27 13:25:23 UTC) #5
Evan Stade
https://codereview.chromium.org/1313603003/diff/80001/chrome/browser/ui/content_settings/content_setting_image_model.cc File chrome/browser/ui/content_settings/content_setting_image_model.cc (right): https://codereview.chromium.org/1313603003/diff/80001/chrome/browser/ui/content_settings/content_setting_image_model.cc#newcode29 chrome/browser/ui/content_settings/content_setting_image_model.cc:29: bool IsMaterial() { On 2015/08/27 13:25:23, tdanderson wrote: > ...
5 years, 3 months ago (2015-08-27 15:49:48 UTC) #6
Evan Stade
https://codereview.chromium.org/1313603003/diff/100001/ui/gfx/vector_icons/blocked_badge.icon File ui/gfx/vector_icons/blocked_badge.icon (right): https://codereview.chromium.org/1313603003/diff/100001/ui/gfx/vector_icons/blocked_badge.icon#newcode6 ui/gfx/vector_icons/blocked_badge.icon:6: PATH_MODE_CLEAR, I forgot I had to add a halo ...
5 years, 3 months ago (2015-08-27 17:41:27 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313603003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313603003/100001
5 years, 3 months ago (2015-08-28 15:30:52 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/75260)
5 years, 3 months ago (2015-08-28 15:45:24 UTC) #11
Evan Stade
https://codereview.chromium.org/1313603003/diff/100001/ui/gfx/vector_icons/blocked_badge.icon File ui/gfx/vector_icons/blocked_badge.icon (right): https://codereview.chromium.org/1313603003/diff/100001/ui/gfx/vector_icons/blocked_badge.icon#newcode6 ui/gfx/vector_icons/blocked_badge.icon:6: PATH_MODE_CLEAR, On 2015/08/27 17:41:27, Evan Stade wrote: > I ...
5 years, 3 months ago (2015-08-28 20:55:57 UTC) #12
sky
LGTM
5 years, 3 months ago (2015-08-29 16:02:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1313603003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1313603003/140001
5 years, 3 months ago (2015-08-31 18:25:23 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 3 months ago (2015-08-31 19:03:41 UTC) #17
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 19:04:13 UTC) #18
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7ca51e26dc7316b50d5f96e4e1b4312584cb995f
Cr-Commit-Position: refs/heads/master@{#346432}

Powered by Google App Engine
This is Rietveld 408576698