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

Unified Diff: cc/animation.h

Issue 12453010: Allow impl-only animations, and return opacity values via AnimationEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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.cc » ('j') | cc/animation_events.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation.h
diff --git a/cc/animation.h b/cc/animation.h
index 37b6e31131de0f3f30f07d1debf151d51581ffc4..3ae279b4a47355de45c1ef64a2073d53743952f2 100644
--- a/cc/animation.h
+++ b/cc/animation.h
@@ -107,6 +107,9 @@ public:
void pushPropertiesTo(Animation*) const;
+ void setIsImplAnimationOnly(bool isImplOnly) { m_isImplAnimationOnly = isImplOnly; }
Ian Vollick 2013/03/06 01:00:57 nit: setIsImplOnly. The 'Animation' bit adds no ex
wjmaclean 2013/03/06 17:03:13 Done.
+ bool isImplAnimationOnly() { return m_isImplAnimationOnly; }
+
private:
Animation(scoped_ptr<AnimationCurve>, int animationId, int groupId, TargetProperty);
@@ -155,6 +158,8 @@ private:
// to it as the 'controlling instance'.
bool m_isControllingInstance;
+ bool m_isImplAnimationOnly;
+
DISALLOW_COPY_AND_ASSIGN(Animation);
};
« no previous file with comments | « no previous file | cc/animation.cc » ('j') | cc/animation_events.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698