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

Unified Diff: ui/gfx/compositor/layer_animation_sequence.h

Issue 8362006: Reland r107720 - Enable the new layer animation framework. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 2 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 | « ui/gfx/compositor/layer_animation_manager.cc ('k') | ui/gfx/compositor/layer_animation_sequence.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/layer_animation_sequence.h
diff --git a/ui/gfx/compositor/layer_animation_sequence.h b/ui/gfx/compositor/layer_animation_sequence.h
index 87673d7676608deec1b574ca9bd6109967350803..4670587880cfd7a6e2316ced81138095f4f56524 100644
--- a/ui/gfx/compositor/layer_animation_sequence.h
+++ b/ui/gfx/compositor/layer_animation_sequence.h
@@ -37,6 +37,10 @@ class COMPOSITOR_EXPORT LayerAnimationSequence {
// guaranteed that Animate will be called with elapsed = Duration().
void Progress(base::TimeDelta elapsed, LayerAnimationDelegate* delegate);
+ // Sets the target value to the value that would have been set had
+ // the sequence completed. Does nothing if the sequence is cyclic.
+ void GetTargetValue(LayerAnimationElement::TargetValue* target) const;
+
// Aborts the given animation.
void Abort();
« no previous file with comments | « ui/gfx/compositor/layer_animation_manager.cc ('k') | ui/gfx/compositor/layer_animation_sequence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698