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

Unified Diff: ash/wm/common/shelf/wm_shelf_util.h

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
Index: ash/wm/common/shelf/wm_shelf_util.h
diff --git a/ash/wm/common/shelf/wm_shelf_util.h b/ash/wm/common/shelf/wm_shelf_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..2405622d2360bbb6be53215f8ea3c81c29da9176
--- /dev/null
+++ b/ash/wm/common/shelf/wm_shelf_util.h
@@ -0,0 +1,20 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_WM_COMMON_SHELF_WM_SHELF_UTIL_H_
+#define ASH_WM_COMMON_SHELF_WM_SHELF_UTIL_H_
+
+#include "ash/ash_export.h"
+#include "ash/wm/common/shelf/wm_shelf_types.h"
+
+namespace ash {
+namespace wm {
+
+// Returns true if the shelf |alignment| is horizontal.
+ASH_EXPORT bool IsHorizontalAlignment(ShelfAlignment alignment);
+
+} // namespace wm
+} // namespace ash
+
+#endif // ASH_WM_COMMON_SHELF_WM_SHELF_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698