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/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 Loading... | |
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); | |
sadrul
2014/03/28 21:23:35
Should UpdateAfterLoginStatusChange() be added to
jonross
2014/03/31 15:09:01
Yeah, each of these trays implements it. It should
| |
190 } | 192 } |
191 | 193 |
192 } // namespace internal | 194 } // namespace internal |
193 } // namespace ash | 195 } // namespace ash |
OLD | NEW |