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

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: 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
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 956a223ce1a36bd2197b345ee1e0f13a92bb6d17..dd81c13165ceff09c9e037f0c2f63205c470915e 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() {
« no previous file with comments | « ash/wm/overlay_event_filter.cc ('k') | chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698