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/common/shelf/wm_shelf_util.h" | |
8 #include "ash/common/wm_shell.h" | 7 #include "ash/common/wm_shell.h" |
9 #include "ash/resources/grit/ash_resources.h" | 8 #include "ash/resources/grit/ash_resources.h" |
| 9 #include "ash/shelf/wm_shelf_util.h" |
10 #include "ash/strings/grit/ash_strings.h" | 10 #include "ash/strings/grit/ash_strings.h" |
11 #include "ash/system/network/network_icon.h" | 11 #include "ash/system/network/network_icon.h" |
12 #include "ash/system/network/network_icon_animation.h" | 12 #include "ash/system/network/network_icon_animation.h" |
13 #include "ash/system/network/network_icon_animation_observer.h" | 13 #include "ash/system/network/network_icon_animation_observer.h" |
14 #include "ash/system/network/network_state_list_detailed_view.h" | 14 #include "ash/system/network/network_state_list_detailed_view.h" |
15 #include "ash/system/network/tray_network_state_observer.h" | 15 #include "ash/system/network/tray_network_state_observer.h" |
16 #include "ash/system/tray/system_tray.h" | 16 #include "ash/system/tray/system_tray.h" |
17 #include "ash/system/tray/system_tray_delegate.h" | 17 #include "ash/system/tray/system_tray_delegate.h" |
18 #include "ash/system/tray/system_tray_notifier.h" | 18 #include "ash/system/tray/system_tray_notifier.h" |
19 #include "ash/system/tray/tray_constants.h" | 19 #include "ash/system/tray/tray_constants.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 void TrayNetwork::NetworkStateChanged() { | 332 void TrayNetwork::NetworkStateChanged() { |
333 if (tray_) | 333 if (tray_) |
334 tray_->UpdateNetworkStateHandlerIcon(); | 334 tray_->UpdateNetworkStateHandlerIcon(); |
335 if (default_) | 335 if (default_) |
336 default_->Update(); | 336 default_->Update(); |
337 if (detailed_) | 337 if (detailed_) |
338 detailed_->Update(); | 338 detailed_->Update(); |
339 } | 339 } |
340 | 340 |
341 } // namespace ash | 341 } // namespace ash |
OLD | NEW |