| 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/shelf/wm_shelf_util.h" | |
| 8 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 9 #include "ash/shell_port.h" | 8 #include "ash/shell_port.h" |
| 10 #include "ash/strings/grit/ash_strings.h" | 9 #include "ash/strings/grit/ash_strings.h" |
| 11 #include "ash/system/network/network_icon.h" | 10 #include "ash/system/network/network_icon.h" |
| 12 #include "ash/system/network/network_icon_animation.h" | 11 #include "ash/system/network/network_icon_animation.h" |
| 13 #include "ash/system/network/network_icon_animation_observer.h" | 12 #include "ash/system/network/network_icon_animation_observer.h" |
| 14 #include "ash/system/network/network_state_list_detailed_view.h" | 13 #include "ash/system/network/network_state_list_detailed_view.h" |
| 15 #include "ash/system/network/tray_network_state_observer.h" | 14 #include "ash/system/network/tray_network_state_observer.h" |
| 16 #include "ash/system/system_notifier.h" | 15 #include "ash/system/system_notifier.h" |
| 17 #include "ash/system/tray/system_tray.h" | 16 #include "ash/system/tray/system_tray.h" |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 void TrayNetwork::NetworkStateChanged() { | 288 void TrayNetwork::NetworkStateChanged() { |
| 290 if (tray_) | 289 if (tray_) |
| 291 tray_->UpdateNetworkStateHandlerIcon(); | 290 tray_->UpdateNetworkStateHandlerIcon(); |
| 292 if (default_) | 291 if (default_) |
| 293 default_->Update(); | 292 default_->Update(); |
| 294 if (detailed_) | 293 if (detailed_) |
| 295 detailed_->Update(); | 294 detailed_->Update(); |
| 296 } | 295 } |
| 297 | 296 |
| 298 } // namespace ash | 297 } // namespace ash |
| OLD | NEW |