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

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

Issue 2957043002: Add a row in the network tray to inform users to turn Bluetooth on to enable Tether. (Closed)
Patch Set: tdanderson@ and khorimoto@ comments Created 3 years, 5 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/system/bluetooth/tray_bluetooth.cc
diff --git a/ash/system/bluetooth/tray_bluetooth.cc b/ash/system/bluetooth/tray_bluetooth.cc
index 3a49c9898f79c2d7a324e71f259fb2771b947eef..0725c98f54fc37749c5ae5ff59795c9e11cc139e 100644
--- a/ash/system/bluetooth/tray_bluetooth.cc
+++ b/ash/system/bluetooth/tray_bluetooth.cc
@@ -314,8 +314,9 @@ class BluetoothDetailedView : public TrayDetailsView {
// Show user Bluetooth state if there is no bluetooth devices in list.
if (device_map_.size() == 0 && bluetooth_available && bluetooth_enabled) {
- scroll_content()->AddChildView(
- new InfoLabel(IDS_ASH_STATUS_TRAY_BLUETOOTH_DISCOVERING));
+ scroll_content()->AddChildView(new TrayDetailsView::InfoLabel(
+ IDS_ASH_STATUS_TRAY_BLUETOOTH_DISCOVERING,
+ nullptr /* InfoLabelDelegate */));
Kyle Horimoto 2017/07/10 18:37:07 The comment should be the parameter name, not its
lesliewatkins 2017/07/12 21:49:49 Done.
}
// Focus the device which was focused before the device-list update.

Powered by Google App Engine
This is Rietveld 408576698