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

Unified Diff: ui/compositor/layer_animator.h

Issue 11280188: Fix focus loss on partial lock. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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..a9527341f0ea4b1b26667e5efdf7454cec116e2a 100644
--- a/ui/compositor/layer_animator.h
+++ b/ui/compositor/layer_animator.h
@@ -130,6 +130,14 @@ class COMPOSITOR_EXPORT LayerAnimator
LayerAnimationElement::AnimatableProperty property,
...);
+ // Schedules a pause with zero length of all the specified properties.
+ // End the list with -1. If animation is not cancelled, |callback| will be
+ // called.
+ void ScheduleSuccessCallbackForProperties(
Daniel Erat 2012/11/27 18:32:11 nit: "Schedule" doesn't make sense to me here, and
Denis Kuznetsov (DE-MUC) 2012/11/27 18:46:59 Done.
+ base::Closure& callback,
+ LayerAnimationElement::AnimatableProperty property,
+ ...);
Daniel Erat 2012/11/27 18:32:11 nit: fix indenting
Denis Kuznetsov (DE-MUC) 2012/11/27 18:46:59 Done.
+
// Returns true if there is an animation in the queue (animations remain in
// the queue until they complete, so this includes running animations).
bool is_animating() const { return !animation_queue_.empty(); }

Powered by Google App Engine
This is Rietveld 408576698