summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorjonross <jonross@chromium.org>2015-05-06 11:37:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-06 18:39:03 +0000
commitc9c7a85b9944912d2f73f464735ac162faec5d77 (patch)
tree04d21076d14636a0fc00035df52943c53714d359 /ash
parent8fc313f38918d44e7f69c8697e486164a19aaae7 (diff)
downloadchromium_src-c9c7a85b9944912d2f73f464735ac162faec5d77.zip
chromium_src-c9c7a85b9944912d2f73f464735ac162faec5d77.tar.gz
chromium_src-c9c7a85b9944912d2f73f464735ac162faec5d77.tar.bz2
Stop mirroring Bluetooth icon in RTL locales
Update BluetoothDetailedView to no longer mirror the icon. In the system tray, the detailed view was mirroring the icon, while the default view did not. l10n stated that the Bluetooth icon is one where directionality is meaningless, so mirroring in RTL is unnecessary. TEST=manual testing on device BUG=477756 Review URL: https://codereview.chromium.org/1128703002 Cr-Commit-Position: refs/heads/master@{#328567}
Diffstat (limited to 'ash')
-rw-r--r--ash/system/bluetooth/tray_bluetooth.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/system/bluetooth/tray_bluetooth.cc b/ash/system/bluetooth/tray_bluetooth.cc
index b58d61e..44121a9 100644
--- a/ash/system/bluetooth/tray_bluetooth.cc
+++ b/ash/system/bluetooth/tray_bluetooth.cc
@@ -216,6 +216,7 @@ class BluetoothDetailedView : public TrayDetailsView,
l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_DISABLE_BLUETOOTH));
toggle_bluetooth_->SetToggledTooltipText(
l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_ENABLE_BLUETOOTH));
+ toggle_bluetooth_->EnableCanvasFlippingForRTLUI(false);
footer()->AddButton(toggle_bluetooth_);
}