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

Unified Diff: ui/compositor/layer.h

Issue 300043007: Debugging test failures from https://codereview.chromium.org/291843012/ Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: steps2-3 Created 6 years, 7 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/compositor/compositor.gyp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 2b0d9138361dd46eabb0dbe199716c63c2256f3e..e2757f973f98ed2ed0b0068c9e47800e21f75f65 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -366,6 +366,7 @@ class COMPOSITOR_EXPORT Layer
virtual void AddThreadedAnimation(
scoped_ptr<cc::Animation> animation) OVERRIDE;
virtual void RemoveThreadedAnimation(int animation_id) OVERRIDE;
+ virtual LayerAnimatorCollection* GetLayerAnimatorCollection() OVERRIDE;
// Creates a corresponding composited layer for |type_|.
void CreateWebLayer();
@@ -389,6 +390,9 @@ class COMPOSITOR_EXPORT Layer
// be called once we have been added to a tree.
void SendPendingThreadedAnimations();
+ // Returns whether the layer has an animating LayerAnimator.
+ bool IsAnimating() const;
+
const LayerType type_;
Compositor* compositor_;
« no previous file with comments | « ui/compositor/compositor.gyp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698