Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index 4283fd283ae0e4e4f645f5017813197c32ff824e..82f2b209524ee96ee3f022919f7ad8158f8f944d 100644 |
--- a/ash/shelf/shelf_layout_manager.cc |
+++ b/ash/shelf/shelf_layout_manager.cc |
@@ -25,9 +25,9 @@ |
#include "ash/wm/gestures/shelf_gesture_handler.h" |
#include "ash/wm/mru_window_tracker.h" |
#include "ash/wm/property_util.h" |
+#include "ash/wm/window_animations.h" |
#include "ash/wm/window_properties.h" |
#include "ash/wm/window_util.h" |
-#include "ash/wm/workspace/workspace_animations.h" |
#include "ash/wm/workspace_controller.h" |
#include "base/auto_reset.h" |
#include "base/command_line.h" |
@@ -599,7 +599,7 @@ void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) { |
ui::ScopedLayerAnimationSettings launcher_animation_setter( |
GetLayer(shelf_)->GetAnimator()); |
launcher_animation_setter.SetTransitionDuration( |
- base::TimeDelta::FromMilliseconds(kWorkspaceSwitchTimeMS)); |
+ base::TimeDelta::FromMilliseconds(kCrossFadeDurationMS)); |
launcher_animation_setter.SetTweenType(ui::Tween::EASE_OUT); |
launcher_animation_setter.SetPreemptionStrategy( |
ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET); |
@@ -609,7 +609,7 @@ void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) { |
ui::ScopedLayerAnimationSettings status_animation_setter( |
GetLayer(shelf_->status_area_widget())->GetAnimator()); |
status_animation_setter.SetTransitionDuration( |
- base::TimeDelta::FromMilliseconds(kWorkspaceSwitchTimeMS)); |
+ base::TimeDelta::FromMilliseconds(kCrossFadeDurationMS)); |
status_animation_setter.SetTweenType(ui::Tween::EASE_OUT); |
status_animation_setter.SetPreemptionStrategy( |
ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET); |