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

Unified Diff: ash/shelf/shelf_util.h

Issue 1907363004: (Merge to M-51) Revise the shelf alignment locking mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
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
« no previous file with comments | « ash/shelf/shelf_types.h ('k') | ash/shelf/shelf_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_util.h
diff --git a/ash/shelf/shelf_util.h b/ash/shelf/shelf_util.h
index 799e59f082c3dcdd9919d201b7e4820b8500118a..65b893d8fa442616627ade0c62ae576cb2cd4e1b 100644
--- a/ash/shelf/shelf_util.h
+++ b/ash/shelf/shelf_util.h
@@ -7,6 +7,7 @@
#include "ash/ash_export.h"
#include "ash/shelf/shelf_item_types.h"
+#include "ash/shelf/shelf_types.h"
#include "base/strings/string16.h"
#include "ui/aura/window.h"
@@ -54,6 +55,9 @@ ASH_EXPORT void ClearShelfItemDetailsForWindow(aura::Window* window);
ASH_EXPORT const ShelfItemDetails* GetShelfItemDetailsForWindow(
aura::Window* window);
+// Returns true if the shelf |alignment| is horizontal.
+ASH_EXPORT bool IsHorizontalAlignment(ShelfAlignment alignment);
+
} // namespace ash
#endif // ASH_SHELF_SHELF_UTIL_H_
« no previous file with comments | « ash/shelf/shelf_types.h ('k') | ash/shelf/shelf_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698