Index: ash/shelf/shelf_layout_manager.h |
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h |
index 18d6ba4c175f615934bfef5ff9059911e615e208..7a96c3aa3fc1501299aa7b9ddfb7929bc2c97a89 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); |
}; |