Skip to content

Commit

Permalink
[Uplift 1.59]: [App Menu]: Add key icon for password manager (#20308)
Browse files Browse the repository at this point in the history
[App Menu]: Add key icon for password manager (#20034)
  • Loading branch information
fallaciousreasoning authored Sep 27, 2023
1 parent 7f0fbec commit b96e31a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions browser/ui/toolbar/app_menu_icons.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const std::map<int, const gfx::VectorIcon&>& GetCommandIcons() {
{IDC_APP_MENU_IPFS, kLeoProductIpfsOutlineIcon},
{IDC_RECENT_TABS_MENU, kLeoHistoryIcon},
{IDC_BOOKMARKS_MENU, kLeoProductBookmarksIcon},
{IDC_VIEW_PASSWORDS, kLeoKeyIcon},
{IDC_SHOW_DOWNLOADS, kLeoDownloadIcon},
{IDC_MANAGE_EXTENSIONS, kLeoBrowserExtensionsIcon},
{IDC_ZOOM_MENU, kLeoSearchZoomInIcon},
Expand Down
1 change: 0 additions & 1 deletion browser/ui/toolbar/brave_app_menu_model_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ void CheckMenuIcons(ui::MenuModel* menu,
int submenu_depth,
std::u16string path = u"") {
constexpr int kIconlessCommands[] = {
IDC_VIEW_PASSWORDS,
// Header, with no icon
IDC_RECENT_TABS_NO_DEVICE_TABS,
// Header, with no icon
Expand Down
1 change: 1 addition & 0 deletions components/vector_icons/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ aggregate_vector_icons("brave_components_vector_icons") {
"leo_history.icon",
"leo_import_arrow.icon",
"leo_info_outline.icon",
"leo_key.icon",
"leo_launch.icon",
"leo_message_heart.icon",
"leo_network_speed_fast.icon",
Expand Down

0 comments on commit b96e31a

Please sign in to comment.