OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/system/bluetooth/tray_bluetooth.h" | 5 #include "ash/system/bluetooth/tray_bluetooth.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/system/tray/system_tray.h" | 8 #include "ash/system/tray/system_tray.h" |
9 #include "ash/system/tray/system_tray_delegate.h" | 9 #include "ash/system/tray/system_tray_delegate.h" |
10 #include "ash/system/tray/tray_constants.h" | 10 #include "ash/system/tray/tray_constants.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 } | 243 } |
244 | 244 |
245 void TrayBluetooth::DestroyDefaultView() { | 245 void TrayBluetooth::DestroyDefaultView() { |
246 default_.reset(); | 246 default_.reset(); |
247 } | 247 } |
248 | 248 |
249 void TrayBluetooth::DestroyDetailedView() { | 249 void TrayBluetooth::DestroyDetailedView() { |
250 detailed_.reset(); | 250 detailed_.reset(); |
251 } | 251 } |
252 | 252 |
| 253 void TrayBluetooth::UpdateAfterLoginStatusChange(user::LoginStatus status) { |
| 254 } |
| 255 |
253 void TrayBluetooth::OnBluetoothRefresh() { | 256 void TrayBluetooth::OnBluetoothRefresh() { |
254 BluetoothDeviceList list; | 257 BluetoothDeviceList list; |
255 Shell::GetInstance()->tray_delegate()->GetAvailableBluetoothDevices(&list); | 258 Shell::GetInstance()->tray_delegate()->GetAvailableBluetoothDevices(&list); |
256 if (default_.get()) | 259 if (default_.get()) |
257 default_->UpdateLabel(); | 260 default_->UpdateLabel(); |
258 if (detailed_.get()) | 261 if (detailed_.get()) |
259 detailed_->Update(list); | 262 detailed_->Update(list); |
260 } | 263 } |
261 | 264 |
262 } // namespace internal | 265 } // namespace internal |
263 } // namespace ash | 266 } // namespace ash |
OLD | NEW |