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/chromeos/network/tray_network.h" | 5 #include "ash/system/chromeos/network/tray_network.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
8 #include "ash/common/shelf/wm_shelf_util.h" | 8 #include "ash/common/shelf/wm_shelf_util.h" |
9 #include "ash/common/system/tray/system_tray_delegate.h" | 9 #include "ash/common/system/tray/system_tray_delegate.h" |
10 #include "ash/common/system/tray/tray_constants.h" | 10 #include "ash/common/system/tray/tray_constants.h" |
11 #include "ash/common/system/tray/tray_item_more.h" | 11 #include "ash/common/system/tray/tray_item_more.h" |
12 #include "ash/common/system/tray/tray_item_view.h" | 12 #include "ash/common/system/tray/tray_item_view.h" |
13 #include "ash/common/system/tray/tray_utils.h" | 13 #include "ash/common/system/tray/tray_utils.h" |
14 #include "ash/metrics/user_metrics_recorder.h" | 14 #include "ash/metrics/user_metrics_recorder.h" |
15 #include "ash/shelf/shelf_util.h" | 15 #include "ash/shelf/shelf_util.h" |
16 #include "ash/shell.h" | 16 #include "ash/shell.h" |
17 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" | 17 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 void TrayNetwork::NetworkStateChanged() { | 333 void TrayNetwork::NetworkStateChanged() { |
334 if (tray_) | 334 if (tray_) |
335 tray_->UpdateNetworkStateHandlerIcon(); | 335 tray_->UpdateNetworkStateHandlerIcon(); |
336 if (default_) | 336 if (default_) |
337 default_->Update(); | 337 default_->Update(); |
338 if (detailed_) | 338 if (detailed_) |
339 detailed_->Update(); | 339 detailed_->Update(); |
340 } | 340 } |
341 | 341 |
342 } // namespace ash | 342 } // namespace ash |
OLD | NEW |