blob: 05ba442a59dfa159c59c41a5cc4002770c830248 [file] [log] [blame]
jamescook1b474d6a2016-06-04 05:56:001// Copyright 2016 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
James Cook643b7182017-03-05 22:02:585#include "ash/common/shelf/wm_shelf_util.h"
jamescook1b474d6a2016-06-04 05:56:006
7namespace ash {
8
9bool IsHorizontalAlignment(ShelfAlignment alignment) {
10 return alignment == SHELF_ALIGNMENT_BOTTOM ||
11 alignment == SHELF_ALIGNMENT_BOTTOM_LOCKED;
12}
13
14} // namespace ash