diff options
Diffstat (limited to 'ui/compositor/scoped_animation_duration_scale_mode.h')
-rw-r--r-- | ui/compositor/scoped_animation_duration_scale_mode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/compositor/scoped_animation_duration_scale_mode.h b/ui/compositor/scoped_animation_duration_scale_mode.h index a0ac5d3..9444651 100644 --- a/ui/compositor/scoped_animation_duration_scale_mode.h +++ b/ui/compositor/scoped_animation_duration_scale_mode.h @@ -17,6 +17,10 @@ class COMPOSITOR_EXPORT ScopedAnimationDurationScaleMode { NORMAL_DURATION, FAST_DURATION, SLOW_DURATION, + // A very short but guaranteed non-zero duration for individual tests that + // need to assert things about animations after creating them. + NON_ZERO_DURATION, + // Animations complete immediately after being created. Used by most tests. ZERO_DURATION }; |