Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: ash/system/chromeos/network/tray_vpn.cc

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/system/chromeos/network/tray_vpn.h ('k') | ash/system/chromeos/power/tray_power.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/metrics/user_metrics_recorder.h" 7 #include "ash/metrics/user_metrics_recorder.h"
8 #include "ash/session/session_state_delegate.h" 8 #include "ash/session/session_state_delegate.h"
9 #include "ash/shell.h" 9 #include "ash/shell.h"
10 #include "ash/system/chromeos/network/network_state_list_detailed_view.h" 10 #include "ash/system/chromeos/network/network_state_list_detailed_view.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 default_ = NULL; 163 default_ = NULL;
164 } 164 }
165 165
166 void TrayVPN::DestroyDetailedView() { 166 void TrayVPN::DestroyDetailedView() {
167 detailed_ = NULL; 167 detailed_ = NULL;
168 } 168 }
169 169
170 void TrayVPN::UpdateAfterLoginStatusChange(user::LoginStatus status) { 170 void TrayVPN::UpdateAfterLoginStatusChange(user::LoginStatus status) {
171 } 171 }
172 172
173 void TrayVPN::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) { 173 void TrayVPN::UpdateAfterShelfAlignmentChange(wm::ShelfAlignment alignment) {}
174 }
175 174
176 void TrayVPN::NetworkStateChanged() { 175 void TrayVPN::NetworkStateChanged() {
177 if (default_) 176 if (default_)
178 default_->Update(); 177 default_->Update();
179 if (detailed_) 178 if (detailed_)
180 detailed_->Update(); 179 detailed_->Update();
181 } 180 }
182 181
183 } // namespace ash 182 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/chromeos/network/tray_vpn.h ('k') | ash/system/chromeos/power/tray_power.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698