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

Unified Diff: ash/session_state_delegate.h

Issue 18850003: Focus kept on login 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
Index: ash/session_state_delegate.h
diff --git a/ash/session_state_delegate.h b/ash/session_state_delegate.h
index d3ecac8a5604f2be0fea691825910a679aa23ec7..a9ea63de56b372ac486ba119660558728cf5d573 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 overlapping UI. It can be
+ // login screen, lock screen or screen for adding users into multi-profile
+ // session.
+ virtual bool IsUserSessionBlocked() const = 0;
+
// 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 | « no previous file | ash/session_state_delegate_stub.h » ('j') | chrome/browser/ui/ash/session_state_delegate_chromeos.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698