| Index: ash/shelf/shelf_util.cc
|
| diff --git a/ash/shelf/shelf_util.cc b/ash/shelf/shelf_util.cc
|
| index 70fa02b23ca17402fae4907284ef128904445cbf..b87d66800fd03de38ba77bd94e3e11b3e0ed9118 100644
|
| --- a/ash/shelf/shelf_util.cc
|
| +++ b/ash/shelf/shelf_util.cc
|
| @@ -58,4 +58,9 @@ const ShelfItemDetails* GetShelfItemDetailsForWindow(
|
| return window->GetProperty(kShelfItemDetailsKey);
|
| }
|
|
|
| +bool IsHorizontalAlignment(ShelfAlignment alignment) {
|
| + return alignment == SHELF_ALIGNMENT_BOTTOM ||
|
| + alignment == SHELF_ALIGNMENT_BOTTOM_LOCKED;
|
| +}
|
| +
|
| } // namespace ash
|
|
|