Commit 272c3a71 authored by Monica Basta's avatar Monica Basta Committed by Commit Bot

[ProfileMenu]: 'Passwords' icon on profile menu is seen inverted in RTL.

This CL prevents mirroring profile menu feature buttons icons:
Passwords, Payment methods and localization in RTL mode. Payment methods
and localization are symmetric and there is no need for mirroring. This
change goes with consistency of the password icon in the settings page.

Bug: 1052244
Change-Id: I59593312241b592169125d54640e0b4f08db78e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2127930Reviewed-by: default avatarThomas Tangl <tangltom@chromium.org>
Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Commit-Queue: Monica Basta <msalama@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755429}
parent 1f16f9f3
......@@ -519,6 +519,7 @@ void ProfileMenuViewBase::AddShortcutFeatureButton(
views::Button* button = shortcut_features_container_->AddChildView(
std::make_unique<CircularImageButton>(this, icon, text,
/*show_border=*/true));
button->EnableCanvasFlippingForRTLUI(false);
RegisterClickAction(button, std::move(action));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment