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

Unified Diff: ui/compositor/layer_animation_observer.h

Issue 1381463002: Added LayerAnimationObserver::OnLayerAnimationStarted() notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Polish after self review. Created 5 years, 3 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: ui/compositor/layer_animation_observer.h
diff --git a/ui/compositor/layer_animation_observer.h b/ui/compositor/layer_animation_observer.h
index 35253d3e3ea335bb0a70f6af0a71e68ef4bd3b73..26bfdfaf0affe45c1578e535741cafe3e9f945e2 100644
--- a/ui/compositor/layer_animation_observer.h
+++ b/ui/compositor/layer_animation_observer.h
@@ -22,6 +22,9 @@ class ImplicitAnimationObserver;
// LayerAnimationObservers are notified when animations complete.
class COMPOSITOR_EXPORT LayerAnimationObserver {
public:
+ // Called when the |sequence| starts.
+ virtual void OnLayerAnimationStarted(LayerAnimationSequence* sequence);
+
// Called when the |sequence| ends. Not called if |sequence| is aborted.
virtual void OnLayerAnimationEnded(
LayerAnimationSequence* sequence) = 0;
« no previous file with comments | « no previous file | ui/compositor/layer_animation_observer.cc » ('j') | ui/compositor/test/test_layer_animation_observer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698