Index: cc/layer_impl.cc |
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc |
index ec440c9420b763fc66033427ad8b817d80a92ab2..b01feab71916e3d016124f17011e0c274a11e066 100644 |
--- a/cc/layer_impl.cc |
+++ b/cc/layer_impl.cc |
@@ -742,6 +742,12 @@ bool LayerImpl::opacityIsAnimating() const |
return m_layerAnimationController->isAnimatingProperty(Animation::Opacity); |
} |
+bool LayerImpl::opacityIsAnimatingOnImplOnly() const |
+{ |
+ Animation* opacityAnimation = m_layerAnimationController->getAnimation(Animation::Opacity); |
danakj
2013/03/13 02:02:06
You're going to need to rebase and chromify this C
Ian Vollick
2013/03/13 02:41:02
Done.
|
+ return opacityAnimation && opacityAnimation->isImplOnly(); |
+} |
+ |
void LayerImpl::setPosition(const gfx::PointF& position) |
{ |
if (m_position == position) |
@@ -789,6 +795,12 @@ bool LayerImpl::transformIsAnimating() const |
return m_layerAnimationController->isAnimatingProperty(Animation::Transform); |
} |
+bool LayerImpl::transformIsAnimatingOnImplOnly() const |
+{ |
+ Animation* transformAnimation = m_layerAnimationController->getAnimation(Animation::Transform); |
+ return transformAnimation && transformAnimation->isImplOnly(); |
+} |
+ |
void LayerImpl::setContentBounds(const gfx::Size& contentBounds) |
{ |
if (this->contentBounds() == contentBounds) |