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

Unified Diff: ash/common/wm_shell.h

Issue 2042913002: Converts MruWindowTracker to work with common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not equal 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
« no previous file with comments | « ash/common/wm/focus_rules.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index fd582f5bb6a81c7afeaf0b620d2e255a9dfd8100..86d27bfadb291c5b272e309d907c577ab4b72e77 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -72,6 +72,11 @@ class ASH_EXPORT WmShell {
virtual bool IsUserSessionBlocked() = 0;
virtual bool IsScreenLocked() = 0;
+ // Returns true if |window| can be shown for the current user. This is
+ // intended to check if the current user matches the user associated with
+ // |window|.
+ virtual bool CanShowWindowForUser(WmWindow* window) = 0;
+
// See aura::client::CursorClient for details on these.
virtual void LockCursor() = 0;
virtual void UnlockCursor() = 0;
« no previous file with comments | « ash/common/wm/focus_rules.cc ('k') | ash/common/wm_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698