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

Unified Diff: ash/wm/event_client_impl.cc

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase to get WorkspaceLayoutManagerSoloTest change Created 3 years, 9 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/wm/ash_focus_rules_unittest.cc ('k') | ash/wm/lock_state_controller_unittest.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 1a16deb23d9b5c4f3eb4dffd53deeec6f8bb36c6..fb186250db7c7fd71c7711f25dfb1e0e2388d879 100644
--- a/ash/wm/event_client_impl.cc
+++ b/ash/wm/event_client_impl.cc
@@ -4,7 +4,7 @@
#include "ash/wm/event_client_impl.h"
-#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/public/cpp/shell_window_ids.h"
#include "ash/shell.h"
@@ -23,7 +23,7 @@ bool EventClientImpl::CanProcessEventsWithinSubtree(
// remove this.
const aura::Window* root_window = window ? window->GetRootWindow() : NULL;
if (!root_window ||
- !WmShell::Get()->GetSessionStateDelegate()->IsUserSessionBlocked()) {
+ !WmShell::Get()->session_controller()->IsUserSessionBlocked()) {
return true;
}
« no previous file with comments | « ash/wm/ash_focus_rules_unittest.cc ('k') | ash/wm/lock_state_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698