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

Unified Diff: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h

Issue 232133003: Fixing too long running unit tests on valgrind (produced by user switch animation) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self nit Created 6 years, 8 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
Index: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
index a69fcb8acf10616c8c4682fdf830fa8748ad0ed0..1ea403087b644f5453a4e9bca5717b772c4ff8f5 100644
--- a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
+++ b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h
@@ -35,7 +35,7 @@ class UserSwichAnimatorChromeOS {
UserSwichAnimatorChromeOS(MultiUserWindowManagerChromeOS* owner,
const std::string& new_user_id,
- bool animation_disabled);
+ int animation_speed_ms);
~UserSwichAnimatorChromeOS();
// Check if a window is covering the entire work area of the screen it is on.
@@ -93,8 +93,8 @@ class UserSwichAnimatorChromeOS {
// The new user to set.
std::string new_user_id_;
- // If true, all animations will be suppressed.
- bool animation_disabled_;
+ // The animation speed in ms. If 0, animations are disabled.
+ int animation_speed_ms_;
// The next animation step for AdvanceUserTransitionAnimation().
AnimationStep animation_step_;

Powered by Google App Engine
This is Rietveld 408576698