Index: ash/shelf/shelf_layout_manager.h |
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h |
index 7e0118a79f0dd43414e7692d28abd18edfe2ec74..6f915479105c2db90471deff3a67e8d4e801d93d 100644 |
--- a/ash/shelf/shelf_layout_manager.h |
+++ b/ash/shelf/shelf_layout_manager.h |
@@ -326,6 +326,11 @@ class ASH_EXPORT ShelfLayoutManager |
// Called when the LoginUI changes from visible to invisible. |
void UpdateShelfVisibilityAfterLoginUIChange(); |
+ // Returns true when |alignment_| is locked. This can be caused by the screen |
+ // being locked, or when adding a user. Returns false when transitioning to a |
+ // user session, and while the session is active. |
+ bool IsAlignmentLocked() const; |
+ |
// The RootWindow is cached so that we don't invoke Shell::GetInstance() from |
// our destructor. We avoid that as at the time we're deleted Shell is being |
// deleted too. |