Index: ash/shelf/shelf_layout_manager.h |
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h |
index e8e696add4bd63aabfb9992971becf1bd2c2417b..3689d017472e8227f404c213ab25cd035422c35f 100644 |
--- a/ash/shelf/shelf_layout_manager.h |
+++ b/ash/shelf/shelf_layout_manager.h |
@@ -191,6 +191,7 @@ class ASH_EXPORT ShelfLayoutManager |
T SelectValueForShelfAlignment(T bottom, T left, T right) const { |
switch (GetAlignment()) { |
case SHELF_ALIGNMENT_BOTTOM: |
+ case SHELF_ALIGNMENT_BOTTOM_LOCKED: |
return bottom; |
case SHELF_ALIGNMENT_LEFT: |
return left; |
@@ -209,11 +210,6 @@ class ASH_EXPORT ShelfLayoutManager |
// Is the shelf's alignment horizontal? |
bool IsHorizontalAlignment() const; |
- // Returns true when the 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; |
- |
// Set the height of the ChromeVox panel, which takes away space from the |
// available work area from the top of the screen. |
void SetChromeVoxPanelHeight(int height); |