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

Issue 2644903004: Move around more vector icons. (Closed)

Created:
3 years, 11 months ago by Evan Stade
Modified:
3 years, 11 months ago
Reviewers:
tdanderson, brettw, sky
CC:
chromium-reviews, sadrul, droger+watchlist_chromium.org, blundell+watchlist_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, extensions-reviews_chromium.org, Matt Giuca, sebsg+autofillwatch_chromium.org, sdefresne+watchlist_chromium.org, vabr+watchlistautofill_chromium.org, chromium-apps-reviews_chromium.org, vabr+watchlistpasswordmanager_chromium.org, jdonnelly+watch_chromium.org, rouslan+autofill_chromium.org, kalyank, gcasto+watchlist_chromium.org, sdefresne+watch_chromium.org, mathp+autofillwatch_chromium.org, tfarina, pkl (ping after 24h if needed), mac-reviews_chromium.org, estade+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move around more vector icons. Aside from mechanical changes, this does the following: - adds vector icons to relevant libraries in components/ - moves initialization work (including virtual fn calls) from BubbleIconView ctor to Init(). BUG=626786 Review-Url: https://codereview.chromium.org/2644903004 Cr-Commit-Position: refs/heads/master@{#446200} Committed: https://chromium.googlesource.com/chromium/src/+/50d9301aee1d5794a5c89f40992ff372995f60e3

Patch Set 1 #

Patch Set 2 : ios doesn't like empty targets #

Patch Set 3 : typo #

Patch Set 4 : . #

Patch Set 5 : add to existing targets #

Patch Set 6 : public_deps? #

Patch Set 7 : sprinkle nognchecks #

Patch Set 8 : no export? #

Patch Set 9 : ok no export #

Total comments: 4

Patch Set 10 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -1548 lines) Patch
M ash/resources/vector_icons/vector_icons.h.template View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/app/vector_icons/BUILD.gn View 4 chunks +18 lines, -0 lines 0 comments Download
A + chrome/app/vector_icons/autologin.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/bluetooth_connected.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/crashed_tab.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/credit_card.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/credit_card.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/folder.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/folder.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/folder_managed.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/folder_managed.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/folder_supervised.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/folder_supervised.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/incognito.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/incognito.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/overflow_chevron.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/overflow_chevron.1x.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/translate.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/app/vector_icons/vector_icons.h.template View 1 chunk +2 lines, -0 lines 0 comments Download
A + chrome/app/vector_icons/zoom_minus.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/app/vector_icons/zoom_plus.icon View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/ui/app_list/search/omnibox_result.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_layout_model.cc View 1 2 3 4 5 6 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/bookmarks/bookmark_utils.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/autofill_popup_view_cocoa.mm View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 1 2 3 4 5 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/ui/cocoa/device_chooser_content_view_cocoa.mm View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_decoration.mm View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration.mm View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/manage_passwords_decoration_unittest.mm View 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/save_credit_card_decoration.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/selected_keyword_decoration_unittest.mm View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/star_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/star_decoration.mm View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/translate_decoration.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/translate_decoration.mm View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm View 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc View 1 2 3 4 5 6 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/autofill/save_card_icon_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/autofill/save_card_icon_view.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/device_chooser_content_view.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/bubble_icon_view.h View 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/bubble_icon_view.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/selected_keyword_view.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/star_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/star_view.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/zoom_view.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_result_view.cc View 1 2 3 4 4 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_icon_views.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_icon_views.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/translate/translate_icon_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/translate/translate_icon_view.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/omnibox/browser/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +47 lines, -0 lines 0 comments Download
M components/omnibox/browser/autocomplete_match.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/omnibox/browser/autocomplete_match.cc View 1 2 3 4 5 6 2 chunks +46 lines, -31 lines 0 comments Download
M components/omnibox/browser/omnibox_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/omnibox/browser/omnibox_view.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/omnibox/browser/vector_icons/calculator.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/omnibox/browser/vector_icons/calculator.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/omnibox/browser/vector_icons/extension_app.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/omnibox/browser/vector_icons/extension_app.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/omnibox/browser/vector_icons/http.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/omnibox/browser/vector_icons/keyword_search.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A components/omnibox/browser/vector_icons/search.icon View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A + components/omnibox/browser/vector_icons/star.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/omnibox/browser/vector_icons/star.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A components/omnibox/browser/vector_icons/vector_icons.cc.template View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A + components/omnibox/browser/vector_icons/vector_icons.h.template View 1 2 3 4 5 6 7 2 chunks +9 lines, -3 lines 0 comments Download
M components/toolbar/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +51 lines, -0 lines 0 comments Download
M components/toolbar/test_toolbar_model.h View 4 chunks +4 lines, -4 lines 0 comments Download
M components/toolbar/test_toolbar_model.cc View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M components/toolbar/toolbar_model.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/toolbar/toolbar_model_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/toolbar/toolbar_model_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/toolbar/toolbar_model_impl.cc View 1 2 3 4 5 6 2 chunks +19 lines, -11 lines 0 comments Download
A components/toolbar/vector_icons/business.icon View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
A + components/toolbar/vector_icons/http.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/http.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/https_invalid.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/https_invalid.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/https_valid.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/https_valid.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/https_valid_in_chip.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/https_valid_in_chip.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/product.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/product.1x.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/star.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/toolbar/vector_icons/star_active.icon View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A components/toolbar/vector_icons/vector_icons.cc.template View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A + components/toolbar/vector_icons/vector_icons.h.template View 1 2 3 4 5 6 7 2 chunks +9 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/toolbar/toolbar_model_delegate_ios.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gfx/vector_icons/BUILD.gn View 1 2 3 4 4 chunks +3 lines, -38 lines 0 comments Download
D ui/gfx/vector_icons/autologin.icon View 1 chunk +0 lines, -34 lines 0 comments Download
D ui/gfx/vector_icons/bluetooth_connected.icon View 1 chunk +0 lines, -43 lines 0 comments Download
D ui/gfx/vector_icons/crashed_tab.icon View 1 chunk +0 lines, -52 lines 0 comments Download
D ui/gfx/vector_icons/credit_card.icon View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/gfx/vector_icons/credit_card.1x.icon View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/gfx/vector_icons/folder.icon View 1 chunk +0 lines, -18 lines 0 comments Download
D ui/gfx/vector_icons/folder.1x.icon View 1 chunk +0 lines, -18 lines 0 comments Download
D ui/gfx/vector_icons/folder_managed.icon View 1 chunk +0 lines, -81 lines 0 comments Download
D ui/gfx/vector_icons/folder_managed.1x.icon View 1 chunk +0 lines, -78 lines 0 comments Download
D ui/gfx/vector_icons/folder_supervised.icon View 1 chunk +0 lines, -47 lines 0 comments Download
D ui/gfx/vector_icons/folder_supervised.1x.icon View 1 chunk +0 lines, -47 lines 0 comments Download
D ui/gfx/vector_icons/incognito.icon View 1 chunk +0 lines, -53 lines 0 comments Download
D ui/gfx/vector_icons/incognito.1x.icon View 1 chunk +0 lines, -52 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_http.icon View 1 chunk +0 lines, -27 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_http.1x.icon View 1 chunk +0 lines, -27 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_https_invalid.icon View 1 chunk +0 lines, -23 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_https_invalid.1x.icon View 1 chunk +0 lines, -23 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_https_valid.icon View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_https_valid.1x.icon View 1 chunk +0 lines, -26 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_https_valid_in_chip.icon View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_https_valid_in_chip.1x.icon View 1 chunk +0 lines, -27 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_product.icon View 1 chunk +0 lines, -38 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_product.1x.icon View 1 chunk +0 lines, -38 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_star.icon View 1 chunk +0 lines, -29 lines 0 comments Download
D ui/gfx/vector_icons/location_bar_star_active.icon View 1 chunk +0 lines, -18 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_calculator.icon View 1 chunk +0 lines, -20 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_calculator.1x.icon View 1 chunk +0 lines, -20 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_extension_app.icon View 1 chunk +0 lines, -36 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_extension_app.1x.icon View 1 chunk +0 lines, -36 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_http.icon View 1 chunk +0 lines, -26 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_keyword_search.icon View 1 chunk +0 lines, -20 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_star.icon View 1 chunk +0 lines, -18 lines 0 comments Download
D ui/gfx/vector_icons/omnibox_star.1x.icon View 1 chunk +0 lines, -18 lines 0 comments Download
D ui/gfx/vector_icons/overflow_chevron.icon View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/gfx/vector_icons/overflow_chevron.1x.icon View 1 chunk +0 lines, -28 lines 0 comments Download
D ui/gfx/vector_icons/translate.icon View 1 chunk +0 lines, -75 lines 0 comments Download
D ui/gfx/vector_icons/zoom_minus.icon View 1 chunk +0 lines, -32 lines 0 comments Download
D ui/gfx/vector_icons/zoom_plus.icon View 1 chunk +0 lines, -42 lines 0 comments Download
M ui/views/resources/vector_icons/vector_icons.h.template View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (39 generated)
Evan Stade
+sky for review +tdanderson for possible comment on components/resources/vector_icons/BUILD.gn This one is a little bit ...
3 years, 11 months ago (2017-01-20 15:42:40 UTC) #17
sky
What is the reason for Init() vs the constructor?
3 years, 11 months ago (2017-01-20 17:35:36 UTC) #18
Evan Stade
On 2017/01/20 17:35:36, sky wrote: > What is the reason for Init() vs the constructor? ...
3 years, 11 months ago (2017-01-20 17:38:15 UTC) #19
sky
Thanks for the clarification. One more question. What is component/resources for? I would think each ...
3 years, 11 months ago (2017-01-20 18:07:05 UTC) #20
Evan Stade
On 2017/01/20 18:07:05, sky wrote: > Thanks for the clarification. One more question. What is ...
3 years, 11 months ago (2017-01-21 00:47:13 UTC) #21
Evan Stade
ok, looks like it's working. I broke from the convention of creating a distinct build ...
3 years, 11 months ago (2017-01-24 01:51:40 UTC) #35
sky
I'm not an owner of the components directory you're changing. Everything else looks reasonable. https://codereview.chromium.org/2644903004/diff/160001/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h ...
3 years, 11 months ago (2017-01-24 17:33:02 UTC) #38
Evan Stade
+brettw for components/ (particularly changes to BUILD files) https://codereview.chromium.org/2644903004/diff/160001/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h File chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h (right): https://codereview.chromium.org/2644903004/diff/160001/chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h#newcode163 chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h:163: // ...
3 years, 11 months ago (2017-01-24 19:00:31 UTC) #40
sky
LGTM
3 years, 11 months ago (2017-01-24 21:58:17 UTC) #43
brettw
components lgtm
3 years, 11 months ago (2017-01-25 22:46:49 UTC) #46
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/2644903004/170001
3 years, 11 months ago (2017-01-26 00:08:48 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 01:48:43 UTC) #51
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://chromium.googlesource.com/chromium/src/+/50d9301aee1d5794a5c89f40992f...

Powered by Google App Engine
This is Rietveld 408576698