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/common/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/common/wm_shell.h" | 14 #include "ash/common/wm_shell.h" |
15 #include "ash/shelf/shelf_util.h" | |
16 #include "ash/shell.h" | 15 #include "ash/shell.h" |
17 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" | 16 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" |
18 #include "ash/system/chromeos/network/tray_network_state_observer.h" | 17 #include "ash/system/chromeos/network/tray_network_state_observer.h" |
19 #include "ash/system/tray/system_tray.h" | 18 #include "ash/system/tray/system_tray.h" |
20 #include "ash/system/tray/system_tray_notifier.h" | 19 #include "ash/system/tray/system_tray_notifier.h" |
21 #include "base/command_line.h" | 20 #include "base/command_line.h" |
22 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
23 #include "chromeos/network/network_state.h" | 22 #include "chromeos/network/network_state.h" |
24 #include "chromeos/network/network_state_handler.h" | 23 #include "chromeos/network/network_state_handler.h" |
25 #include "grit/ash_resources.h" | 24 #include "grit/ash_resources.h" |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 void TrayNetwork::NetworkStateChanged() { | 331 void TrayNetwork::NetworkStateChanged() { |
333 if (tray_) | 332 if (tray_) |
334 tray_->UpdateNetworkStateHandlerIcon(); | 333 tray_->UpdateNetworkStateHandlerIcon(); |
335 if (default_) | 334 if (default_) |
336 default_->Update(); | 335 default_->Update(); |
337 if (detailed_) | 336 if (detailed_) |
338 detailed_->Update(); | 337 detailed_->Update(); |
339 } | 338 } |
340 | 339 |
341 } // namespace ash | 340 } // namespace ash |
OLD | NEW |