| 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/common/system/chromeos/network/tray_vpn.h" | 5 #include "ash/common/system/chromeos/network/tray_vpn.h" |
| 6 | 6 |
| 7 #include "ash/common/session/session_state_delegate.h" | 7 #include "ash/common/session/session_state_delegate.h" |
| 8 #include "ash/common/system/chromeos/network/network_state_list_detailed_view.h" | 8 #include "ash/common/system/chromeos/network/network_state_list_detailed_view.h" |
| 9 #include "ash/common/system/chromeos/network/vpn_delegate.h" | 9 #include "ash/common/system/chromeos/network/vpn_delegate.h" |
| 10 #include "ash/common/system/tray/system_tray.h" |
| 10 #include "ash/common/system/tray/system_tray_delegate.h" | 11 #include "ash/common/system/tray/system_tray_delegate.h" |
| 11 #include "ash/common/system/tray/tray_constants.h" | 12 #include "ash/common/system/tray/tray_constants.h" |
| 12 #include "ash/common/system/tray/tray_item_more.h" | 13 #include "ash/common/system/tray/tray_item_more.h" |
| 13 #include "ash/common/system/tray/tray_popup_label_button.h" | 14 #include "ash/common/system/tray/tray_popup_label_button.h" |
| 14 #include "ash/common/wm_shell.h" | 15 #include "ash/common/wm_shell.h" |
| 15 #include "ash/system/tray/system_tray.h" | |
| 16 #include "chromeos/network/network_state.h" | 16 #include "chromeos/network/network_state.h" |
| 17 #include "chromeos/network/network_state_handler.h" | 17 #include "chromeos/network/network_state_handler.h" |
| 18 #include "grit/ash_strings.h" | 18 #include "grit/ash_strings.h" |
| 19 #include "grit/ui_chromeos_strings.h" | 19 #include "grit/ui_chromeos_strings.h" |
| 20 #include "third_party/cros_system_api/dbus/service_constants.h" | 20 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 21 #include "ui/base/l10n/l10n_util.h" | 21 #include "ui/base/l10n/l10n_util.h" |
| 22 #include "ui/chromeos/network/network_icon.h" | 22 #include "ui/chromeos/network/network_icon.h" |
| 23 #include "ui/chromeos/network/network_icon_animation.h" | 23 #include "ui/chromeos/network/network_icon_animation.h" |
| 24 #include "ui/chromeos/network/network_icon_animation_observer.h" | 24 #include "ui/chromeos/network/network_icon_animation_observer.h" |
| 25 | 25 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {} | 167 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {} |
| 168 | 168 |
| 169 void TrayVPN::NetworkStateChanged() { | 169 void TrayVPN::NetworkStateChanged() { |
| 170 if (default_) | 170 if (default_) |
| 171 default_->Update(); | 171 default_->Update(); |
| 172 if (detailed_) | 172 if (detailed_) |
| 173 detailed_->Update(); | 173 detailed_->Update(); |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace ash | 176 } // namespace ash |
| OLD | NEW |