diff options
Diffstat (limited to 'ash/shelf/shelf.h')
-rw-r--r-- | ash/shelf/shelf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h index 597dd37..f884458 100644 --- a/ash/shelf/shelf.h +++ b/ash/shelf/shelf.h @@ -60,6 +60,10 @@ class ASH_EXPORT Shelf { ShelfAlignment alignment() const { return alignment_; } bool IsHorizontalAlignment() const; + // Sets the ShelfAutoHideBehavior. See enum description for details. + void SetAutoHideBehavior(ShelfAutoHideBehavior behavior); + ShelfAutoHideBehavior GetAutoHideBehavior() const; + // A helper functions that chooses values specific to a shelf alignment. template <typename T> T SelectValueForShelfAlignment(T bottom, T left, T right, T top) const { |