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

Unified Diff: ash/session_state_delegate.h

Issue 19945004: Modal window in user session not blocks user adding screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/root_window_controller_unittest.cc ('k') | ash/session_state_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session_state_delegate.h
diff --git a/ash/session_state_delegate.h b/ash/session_state_delegate.h
index d3ecac8a5604f2be0fea691825910a679aa23ec7..0f2c569c5125bbea82c49e6056f9e0cb3c76f0a6 100644
--- a/ash/session_state_delegate.h
+++ b/ash/session_state_delegate.h
@@ -56,6 +56,11 @@ class ASH_EXPORT SessionStateDelegate {
// Unlocks the screen.
virtual void UnlockScreen() = 0;
+ // Returns |true| if user session blocked by some overlying UI. It can be
+ // login screen, lock screen or screen for adding users into multi-profile
+ // session.
+ virtual bool IsUserSessionBlocked() const = 0;
sky 2013/07/22 21:19:06 Blocked is misleading here. In particular it makes
dzhioev (left Google) 2013/07/23 14:06:01 'Locked' is already widely used for lock screen, e
sky 2013/07/23 14:34:37 I think I like IsUserSessionBlocked better. So, st
+
// Gets the displayed name for the user with the given |index|.
// Note that |index| can at maximum be |NumberOfLoggedInUsers() - 1|.
virtual const base::string16 GetUserDisplayName(
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/session_state_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698