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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 void TrayVPN::UpdateAfterLoginStatusChange(user::LoginStatus status) { | 175 void TrayVPN::UpdateAfterLoginStatusChange(user::LoginStatus status) { |
176 } | 176 } |
177 | 177 |
178 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { | 178 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { |
179 } | 179 } |
180 | 180 |
181 void TrayVPN::OnNetworkRefresh(const NetworkIconInfo& info) { | 181 void TrayVPN::OnNetworkRefresh(const NetworkIconInfo& info) { |
182 if (default_) | 182 if (default_) |
183 default_->Update(); | 183 default_->Update(); |
184 if (detailed_) | 184 if (detailed_) |
185 detailed_->Update(); | 185 detailed_->ManagerChanged(); |
186 } | 186 } |
187 | 187 |
188 void TrayVPN::SetNetworkMessage(NetworkTrayDelegate* delegate, | 188 void TrayVPN::SetNetworkMessage(NetworkTrayDelegate* delegate, |
189 MessageType message_type, | 189 MessageType message_type, |
190 NetworkType network_type, | 190 NetworkType network_type, |
191 const string16& title, | 191 const string16& title, |
192 const string16& message, | 192 const string16& message, |
193 const std::vector<string16>& links) { | 193 const std::vector<string16>& links) { |
194 } | 194 } |
195 | 195 |
196 void TrayVPN::ClearNetworkMessage(MessageType message_type) { | 196 void TrayVPN::ClearNetworkMessage(MessageType message_type) { |
197 } | 197 } |
198 | 198 |
199 void TrayVPN::OnWillToggleWifi() { | 199 void TrayVPN::OnWillToggleWifi() { |
200 } | 200 } |
201 | 201 |
202 } // namespace internal | 202 } // namespace internal |
203 } // namespace ash | 203 } // namespace ash |
OLD | NEW |