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

Unified Diff: ash/wm/overview/window_selector_controller.cc

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks 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
Index: ash/wm/overview/window_selector_controller.cc
diff --git a/ash/wm/overview/window_selector_controller.cc b/ash/wm/overview/window_selector_controller.cc
index 2bdea29e83083eb36ee1dc88fc1374376a548ccc..c238a11fd8c10854e5d163a99efb01d50f071b45 100644
--- a/ash/wm/overview/window_selector_controller.cc
+++ b/ash/wm/overview/window_selector_controller.cc
@@ -27,12 +27,13 @@ WindowSelectorController::~WindowSelectorController() {
bool WindowSelectorController::CanSelect() {
// Don't allow a window overview if the screen is locked or a modal dialog is
// open or running in kiosk app session.
- return Shell::GetInstance()->session_state_delegate()->
- IsActiveUserSessionStarted() &&
+ return Shell::GetInstance()
+ ->session_state_delegate()
+ ->IsActiveUserSessionStarted() &&
!Shell::GetInstance()->session_state_delegate()->IsScreenLocked() &&
!Shell::GetInstance()->IsSystemModalWindowOpen() &&
Shell::GetInstance()->system_tray_delegate()->GetUserLoginStatus() !=
- user::LOGGED_IN_KIOSK_APP;
+ LoginStatus::KIOSK_APP;
}
void WindowSelectorController::ToggleOverview() {

Powered by Google App Engine
This is Rietveld 408576698