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

Unified Diff: cc/animation/element_animations.h

Issue 1893253002: CC Animation: Make LayerAnimationController to have just one event observer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rc
Patch Set: Created 4 years, 8 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 | « no previous file | cc/animation/element_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/element_animations.h
diff --git a/cc/animation/element_animations.h b/cc/animation/element_animations.h
index 4c69014f40383eb3bce2a76ce1d0d2ccf898dfe9..72051e3e8e7c0642f5c4c33039398c1236e49176 100644
--- a/cc/animation/element_animations.h
+++ b/cc/animation/element_animations.h
@@ -90,8 +90,7 @@ class CC_EXPORT ElementAnimations : public base::RefCounted<ElementAnimations>,
// Returns the active animation for the given unique animation id.
Animation* GetAnimationById(int animation_id) const;
- void AddEventObserver(LayerAnimationEventObserver* observer);
- void RemoveEventObserver(LayerAnimationEventObserver* observer);
+ void SetEventObserver(LayerAnimationEventObserver* observer);
private:
friend class base::RefCounted<ElementAnimations>;
« no previous file with comments | « no previous file | cc/animation/element_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698