summaryrefslogtreecommitdiffstats
path: root/ash/shelf/shelf_layout_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shelf/shelf_layout_manager.h')
-rw-r--r--ash/shelf/shelf_layout_manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 18d6ba4..7a96c3a 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -167,6 +167,10 @@ class ASH_EXPORT ShelfLayoutManager :
void CompleteGestureDrag(const ui::GestureEvent& gesture);
void CancelGestureDrag();
+ // Set an animation duration override for the show / hide animation of the
+ // shelf. Specifying 0 leads to use the default.
+ void SetAnimationDurationOverride(int duration_override_in_ms);
+
// Overridden from aura::LayoutManager:
virtual void OnWindowResized() OVERRIDE;
virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE;
@@ -408,6 +412,9 @@ class ASH_EXPORT ShelfLayoutManager :
// The bounds of the dock.
gfx::Rect dock_bounds_;
+ // The show hide animation duration override or 0 for default.
+ int duration_override_in_ms_;
+
DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
};