| 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_vpn.h" | 5 #include "ash/system/chromeos/network/tray_vpn.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/system/chromeos/network/network_list_detailed_view_base.h" | 8 #include "ash/system/chromeos/network/network_list_detailed_view_base.h" |
| 9 #include "ash/system/tray/system_tray_delegate.h" | 9 #include "ash/system/tray/system_tray_delegate.h" |
| 10 #include "ash/system/tray/tray_constants.h" | 10 #include "ash/system/tray/tray_constants.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 void TrayVPN::UpdateAfterLoginStatusChange(user::LoginStatus status) { | 171 void TrayVPN::UpdateAfterLoginStatusChange(user::LoginStatus status) { |
| 172 } | 172 } |
| 173 | 173 |
| 174 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { | 174 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { |
| 175 } | 175 } |
| 176 | 176 |
| 177 void TrayVPN::OnNetworkRefresh(const NetworkIconInfo& info) { | 177 void TrayVPN::OnNetworkRefresh(const NetworkIconInfo& info) { |
| 178 if (default_) | 178 if (default_) |
| 179 default_->Update(); | 179 default_->Update(); |
| 180 if (detailed_) | 180 if (detailed_) |
| 181 detailed_->Update(); | 181 detailed_->ManagerChanged(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 void TrayVPN::SetNetworkMessage(NetworkTrayDelegate* delegate, | 184 void TrayVPN::SetNetworkMessage(NetworkTrayDelegate* delegate, |
| 185 MessageType message_type, | 185 MessageType message_type, |
| 186 const string16& title, | 186 const string16& title, |
| 187 const string16& message, | 187 const string16& message, |
| 188 const std::vector<string16>& links) { | 188 const std::vector<string16>& links) { |
| 189 } | 189 } |
| 190 | 190 |
| 191 void TrayVPN::ClearNetworkMessage(MessageType message_type) { | 191 void TrayVPN::ClearNetworkMessage(MessageType message_type) { |
| 192 } | 192 } |
| 193 | 193 |
| 194 void TrayVPN::OnWillToggleWifi() { | 194 void TrayVPN::OnWillToggleWifi() { |
| 195 } | 195 } |
| 196 | 196 |
| 197 } // namespace internal | 197 } // namespace internal |
| 198 } // namespace ash | 198 } // namespace ash |
| OLD | NEW |