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

Unified Diff: cc/layers/layer.h

Issue 1957533002: cc : Track opacity animation changes on effect tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 97e83c339b461fbb9523b05e55835b552d39877a..079f90c801772936372ec2265e9c3db9f4a9e592 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -505,6 +505,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void OnTransformAnimated(const gfx::Transform& transform);
void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset);
void OnTransformIsPotentiallyAnimatingChanged(bool is_animating);
+ void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating);
+ void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation);
bool HasActiveAnimationForTesting() const;
protected:

Powered by Google App Engine
This is Rietveld 408576698