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

Unified Diff: cc/animation.h

Issue 11550035: Implement pinch-zoom scaling for main-frame scrollbars and pinch-zoom overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revision as per comments, animate scrollbars, fix slow-path PZ scrolling. 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/layer_tree_host.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; }
+ 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/layer_tree_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698