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

Unified Diff: ui/compositor/layer_animator.h

Issue 11453012: Fix black background when locking with fullscreen window: (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Mock TimeTicks::Now() Created 8 years 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: ui/compositor/layer_animator.h
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h
index 6c24008cb0d7698e1cb2ecca9d43bd3de14a8244..1945a8ab0c3db05f9d48125b3afd98648ea871b0 100644
--- a/ui/compositor/layer_animator.h
+++ b/ui/compositor/layer_animator.h
@@ -14,6 +14,7 @@
#include "base/observer_list.h"
#include "base/time.h"
#include "ui/base/animation/animation_container_element.h"
+#include "ui/base/animation/animation_container_test_helper.h"
#include "ui/base/animation/tween.h"
#include "ui/compositor/compositor_export.h"
#include "ui/compositor/layer_animation_element.h"
@@ -193,6 +194,12 @@ class COMPOSITOR_EXPORT LayerAnimator
return disable_animations_for_test_;
}
+ // Creates AnimationContainerTestHelper that would give fine control over
+ // animation progress. Other test flags (disable_animations_for_test /
+ // disable_timer_for_test) should be turned off.
+ static scoped_ptr<test::AnimationContainerTestHelper>
+ CreateAnimatorHelperForTest();
+
protected:
virtual ~LayerAnimator();

Powered by Google App Engine
This is Rietveld 408576698