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

Unified Diff: ash/session/session_state_delegate.h

Issue 783663003: Special check on Supervised User creation flow added to prevent misleading shelf alignment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/shelf/shelf_layout_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session/session_state_delegate.h
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h
index e3b2dc4e6960f354640464d2f27607fac452d506..6a81ae9cb2ddbf04b71b6237b0d14c7c8130c0bb 100644
--- a/ash/session/session_state_delegate.h
+++ b/ash/session/session_state_delegate.h
@@ -120,6 +120,11 @@ class ASH_EXPORT SessionStateDelegate {
// session.
virtual bool IsUserSessionBlocked() const = 0;
+ // Returns true if at any Supervised User creation screen.
+ virtual bool IsInSupervisedUserCreationFlow() const = 0;
+
+ virtual void SetIsInSupervisedUserCreationFlow(bool is_in_flow) = 0;
+
// Returns current session state.
virtual SessionState GetSessionState() const = 0;
« no previous file with comments | « no previous file | ash/shelf/shelf_layout_manager.cc » ('j') | ash/shelf/shelf_layout_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698