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

Unified Diff: cc/layer_impl.h

Issue 12413020: Do not push properties that are animated on impl only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index b2d6d99343a763c867b7b180920d59dd116ada4a..bfd805330c173eb637db9c6149ee905a72d6cae5 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -150,6 +150,7 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
void SetOpacity(float opacity);
float opacity() const { return opacity_; }
bool OpacityIsAnimating() const;
+ bool OpacityIsAnimatingOnImplOnly() const;
void SetPosition(gfx::PointF position);
gfx::PointF position() const { return position_; }
@@ -327,6 +328,7 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
void SetTransform(const gfx::Transform& transform);
const gfx::Transform& transform() const { return transform_; }
bool TransformIsAnimating() const;
+ bool TransformIsAnimatingOnImplOnly() const;
void set_update_rect(const gfx::RectF& update_rect) {
update_rect_ = update_rect;
« no previous file with comments | « cc/layer.cc ('k') | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698