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

Side by Side Diff: ash/system/status_area_widget.cc

Issue 212553005: Overview Tray Button should not be visible on login screen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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/status_area_widget.h" 5 #include "ash/system/status_area_widget.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/shelf/shelf_layout_manager.h" 8 #include "ash/shelf/shelf_layout_manager.h"
9 #include "ash/shelf/shelf_widget.h" 9 #include "ash/shelf/shelf_widget.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 return; 180 return;
181 login_status_ = login_status; 181 login_status_ = login_status;
182 if (system_tray_) 182 if (system_tray_)
183 system_tray_->UpdateAfterLoginStatusChange(login_status); 183 system_tray_->UpdateAfterLoginStatusChange(login_status);
184 if (web_notification_tray_) 184 if (web_notification_tray_)
185 web_notification_tray_->UpdateAfterLoginStatusChange(login_status); 185 web_notification_tray_->UpdateAfterLoginStatusChange(login_status);
186 #if defined(OS_CHROMEOS) 186 #if defined(OS_CHROMEOS)
187 if (logout_button_tray_) 187 if (logout_button_tray_)
188 logout_button_tray_->UpdateAfterLoginStatusChange(login_status); 188 logout_button_tray_->UpdateAfterLoginStatusChange(login_status);
189 #endif 189 #endif
190 if (overview_button_tray_)
191 overview_button_tray_->UpdateAfterLoginStatusChange(login_status);
190 } 192 }
191 193
192 } // namespace internal 194 } // namespace internal
193 } // namespace ash 195 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698