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

Unified Diff: ash/wm/event_client_impl.cc

Issue 19945004: Modal window in user session not blocks user adding screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compilation for win. Created 7 years, 5 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/test/test_session_state_delegate.cc ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/event_client_impl.cc
diff --git a/ash/wm/event_client_impl.cc b/ash/wm/event_client_impl.cc
index 9e121d168b815a414fcb913eac237f9e59196d08..fcdc1b425d382c948e31b0135fff8e61d105c5ee 100644
--- a/ash/wm/event_client_impl.cc
+++ b/ash/wm/event_client_impl.cc
@@ -23,10 +23,7 @@ bool EventClientImpl::CanProcessEventsWithinSubtree(
const aura::RootWindow* root_window = window ? window->GetRootWindow() : NULL;
if (!root_window)
return true;
- ash::SessionStateDelegate* state_delegate =
- Shell::GetInstance()->session_state_delegate();
- if (!state_delegate->IsActiveUserSessionStarted() ||
- state_delegate->IsScreenLocked()) {
+ if (Shell::GetInstance()->session_state_delegate()->IsUserSessionBlocked()) {
const aura::Window* lock_screen_containers = Shell::GetContainer(
root_window,
kShellWindowId_LockScreenContainersContainer);
« no previous file with comments | « ash/test/test_session_state_delegate.cc ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698