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

Unified Diff: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc

Issue 2795143005: [Ash] Remove pre-MD code paths from HoverHighlightView (Closed)
Patch Set: estade comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
diff --git a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
index 3b6e75e490ce6eaecdafb6e28ad19979a3bd7931..cf07d64f7f78f83dec7bfc217e005667c9237cf2 100644
--- a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
+++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
@@ -314,9 +314,10 @@ class BluetoothDetailedView : public TrayDetailsView {
if (device_map_.size() == 0) {
if (bluetooth_available && bluetooth_enabled) {
HoverHighlightView* container = new HoverHighlightView(this);
- container->AddLabel(l10n_util::GetStringUTF16(
- IDS_ASH_STATUS_TRAY_BLUETOOTH_DISCOVERING),
- gfx::ALIGN_LEFT, false);
+ container->AddLabelDeprecated(
+ l10n_util::GetStringUTF16(
+ IDS_ASH_STATUS_TRAY_BLUETOOTH_DISCOVERING),
+ gfx::ALIGN_LEFT, false);
scroll_content()->AddChildView(container);
}
}
@@ -353,7 +354,7 @@ class BluetoothDetailedView : public TrayDetailsView {
} else if (connecting) {
SetupConnectingItem(container, text, image);
} else {
- container->AddIconAndLabel(image, text, false);
+ container->AddIconAndLabel(image, text);
}
scroll_content()->AddChildView(container);
return container;

Powered by Google App Engine
This is Rietveld 408576698