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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 10823394: [aura] Stop accelerators that are not allowed on login screen from working on user image screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 8cf78691f7095f327cf17a2470f0d9f83690aa30..075e65680a63f29799545298a5b05081a316333b 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -370,7 +370,7 @@ bool AcceleratorController::PerformAction(int action,
ash::Shell* shell = ash::Shell::GetInstance();
bool at_login_screen = false;
#if defined(OS_CHROMEOS)
- at_login_screen = (shell->delegate() && !shell->delegate()->IsUserLoggedIn());
+ at_login_screen = shell->delegate() && !shell->delegate()->IsSessionStarted();
#endif
bool at_lock_screen = shell->IsScreenLocked();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698