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

Unified Diff: ui/compositor/layer_animation_delegate.h

Issue 1531913003: CC Animations: Make ui::LayerAnimator a LayerAnimationEventObserver (instead of ui::Layer) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix LayerAnimator::SetDelegate Created 5 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
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/layer_animator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animation_delegate.h
diff --git a/ui/compositor/layer_animation_delegate.h b/ui/compositor/layer_animation_delegate.h
index 0643f35ae0bcb45216da998c408897ec23533312..cc83f43d5364be081441defbc0995d934735d469 100644
--- a/ui/compositor/layer_animation_delegate.h
+++ b/ui/compositor/layer_animation_delegate.h
@@ -12,6 +12,10 @@
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/transform.h"
+namespace cc {
+class Layer;
+}
+
namespace ui {
class LayerAnimatorCollection;
@@ -38,6 +42,7 @@ class COMPOSITOR_EXPORT LayerAnimationDelegate {
virtual void AddThreadedAnimation(scoped_ptr<cc::Animation> animation) = 0;
virtual void RemoveThreadedAnimation(int animation_id) = 0;
virtual LayerAnimatorCollection* GetLayerAnimatorCollection() = 0;
+ virtual cc::Layer* GetCcLayer() const = 0;
protected:
virtual ~LayerAnimationDelegate() {}
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/layer_animator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698