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

Unified Diff: ash/wm/aura/wm_globals_aura.cc

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix always-on-top and remove mus changes Created 4 years, 8 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/aura/wm_globals_aura.cc
diff --git a/ash/wm/aura/wm_globals_aura.cc b/ash/wm/aura/wm_globals_aura.cc
index 2d2d455da07f51aef421a8fbde871635ce5a416c..7de57d99fdfb5a85129734278baa3529482be4b4 100644
--- a/ash/wm/aura/wm_globals_aura.cc
+++ b/ash/wm/aura/wm_globals_aura.cc
@@ -89,6 +89,10 @@ bool WmGlobalsAura::IsForceMaximizeOnFirstRun() {
return Shell::GetInstance()->delegate()->IsForceMaximizeOnFirstRun();
}
+bool WmGlobalsAura::IsScreenLocked() {
+ return Shell::GetInstance()->session_state_delegate()->IsScreenLocked();
+}
+
void WmGlobalsAura::LockCursor() {
ash::Shell::GetInstance()->cursor_manager()->LockCursor();
}

Powered by Google App Engine
This is Rietveld 408576698