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

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: Fixed nits, patch for submission. Created 7 years, 9 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') | no next file with comments »
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..94cb8f243d9fcdc9fb232aa0e650343a412a8965 100644
--- a/cc/animation.h
+++ b/cc/animation.h
@@ -107,6 +107,9 @@ public:
void pushPropertiesTo(Animation*) const;
+ void setIsImplOnly(bool isImplOnly) { m_isImplOnly = isImplOnly; }
+ bool isImplOnly() { return m_isImplOnly; }
+
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_isImplOnly;
+
DISALLOW_COPY_AND_ASSIGN(Animation);
};
« no previous file with comments | « no previous file | cc/animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698