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/network/tray_network.h" | 5 #include "ash/system/network/tray_network.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell_window_ids.h" | 8 #include "ash/shell_window_ids.h" |
9 #include "ash/system/tray/system_tray.h" | 9 #include "ash/system/tray/system_tray.h" |
10 #include "ash/system/tray/system_tray_delegate.h" | 10 #include "ash/system/tray/system_tray_delegate.h" |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 } | 510 } |
511 | 511 |
512 void TrayNetwork::DestroyDefaultView() { | 512 void TrayNetwork::DestroyDefaultView() { |
513 default_.reset(); | 513 default_.reset(); |
514 } | 514 } |
515 | 515 |
516 void TrayNetwork::DestroyDetailedView() { | 516 void TrayNetwork::DestroyDetailedView() { |
517 detailed_.reset(); | 517 detailed_.reset(); |
518 } | 518 } |
519 | 519 |
| 520 void TrayNetwork::UpdateAfterLoginStatusChange(user::LoginStatus status) { |
| 521 } |
| 522 |
520 void TrayNetwork::OnNetworkRefresh(const NetworkIconInfo& info) { | 523 void TrayNetwork::OnNetworkRefresh(const NetworkIconInfo& info) { |
521 if (tray_.get()) | 524 if (tray_.get()) |
522 tray_->Update(info); | 525 tray_->Update(info); |
523 if (default_.get()) | 526 if (default_.get()) |
524 default_->Update(); | 527 default_->Update(); |
525 if (detailed_.get()) | 528 if (detailed_.get()) |
526 detailed_->Update(); | 529 detailed_->Update(); |
527 } | 530 } |
528 | 531 |
529 } // namespace internal | 532 } // namespace internal |
530 } // namespace ash | 533 } // namespace ash |
OLD | NEW |