| 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 87d7269129e5c10f0938e0b05754973aa2b68aa5..3b7966c1ee090b0f207a1c254789312e642c6f70 100644
|
| --- a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
| +++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
|
| @@ -542,13 +542,8 @@ class BluetoothDetailedView : public TrayDetailsView {
|
|
|
| tri_view()->SetContainerVisible(TriView::Container::END, true);
|
|
|
| - // TODO(tdanderson): Move common toggle-creation logic to TrayPopupUtils.
|
| - // See crbug.com/614453.
|
| - toggle_ = new views::ToggleButton(this);
|
| - toggle_->SetFocusForPlatform();
|
| - toggle_->SetAccessibleName(
|
| - ui::ResourceBundle::GetSharedInstance().GetLocalizedString(
|
| - IDS_ASH_STATUS_TRAY_BLUETOOTH));
|
| + toggle_ = TrayPopupUtils::CreateToggleButton(
|
| + this, IDS_ASH_STATUS_TRAY_BLUETOOTH);
|
| tri_view()->AddView(TriView::Container::END, toggle_);
|
|
|
| settings_ = CreateSettingsButton(login_);
|
|
|