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

Unified Diff: ash/root_window_controller.cc

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 8c4317f415fe195dbaa3528624fa3ff97d5cb93e..a627d23b49a6b49603bd35f3783c4502a985207f 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -426,9 +426,8 @@ Shelf* RootWindowController::GetShelf() const {
return shelf_widget_->shelf();
}
-void RootWindowController::UpdateAfterLoginStatusChange(
- user::LoginStatus status) {
- if (status != user::LOGGED_IN_NONE)
+void RootWindowController::UpdateAfterLoginStatusChange(LoginStatus status) {
+ if (status != LoginStatus::NOT_LOGGED_IN)
mouse_event_target_.reset();
if (shelf_widget_->status_area_widget())
shelf_widget_->status_area_widget()->UpdateAfterLoginStatusChange(status);
@@ -863,7 +862,7 @@ void RootWindowController::OnMenuClosed() {
Shell::GetInstance()->UpdateShelfVisibility();
}
-void RootWindowController::OnLoginStateChanged(user::LoginStatus status) {
+void RootWindowController::OnLoginStateChanged(LoginStatus status) {
shelf_widget_->shelf_layout_manager()->UpdateVisibilityState();
}
« no previous file with comments | « ash/root_window_controller.h ('k') | ash/root_window_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698