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

Unified Diff: ash/wm/session_state_animator.cc

Issue 2659523005: ash: Tune shutdown animation time to 1.5s for convertible devices (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/session_state_animator.cc
diff --git a/ash/wm/session_state_animator.cc b/ash/wm/session_state_animator.cc
index 73ddd43b8764bf4e89cd3240ea55f351922fa166..db620bb8abb3ca12091b3ff5cd2f44a66b1db2eb 100644
--- a/ash/wm/session_state_animator.cc
+++ b/ash/wm/session_state_animator.cc
@@ -95,7 +95,7 @@ base::TimeDelta SessionStateAnimator::GetDuration(
case ANIMATION_SPEED_UNDO_MOVE_WINDOWS:
return base::TimeDelta::FromMilliseconds(350);
case ANIMATION_SPEED_SHUTDOWN:
- return IsTouchViewEnabled() ? base::TimeDelta::FromMilliseconds(2500)
+ return IsTouchViewEnabled() ? base::TimeDelta::FromMilliseconds(1500)
: base::TimeDelta::FromMilliseconds(1000);
case ANIMATION_SPEED_REVERT_SHUTDOWN:
return base::TimeDelta::FromMilliseconds(500);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698