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

Unified Diff: cc/layers/layer.h

Issue 2357533002: CC Animation: Use std::bitset to update animation state. (Closed)
Patch Set: Reparent. Created 4 years, 2 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/animation/target_property.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 99f85c12770662dde067490bb6c76e05a18d81e7..672b249668a04b50c8c834f0cbbf08679fbc0ae7 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -559,12 +559,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void OnOpacityAnimated(float opacity);
void OnTransformAnimated(const gfx::Transform& transform);
void OnScrollOffsetAnimated(const gfx::ScrollOffset& scroll_offset);
- void OnTransformIsCurrentlyAnimatingChanged(bool is_animating);
- void OnTransformIsPotentiallyAnimatingChanged(bool is_animating);
- void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating);
- void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation);
- void OnFilterIsCurrentlyAnimatingChanged(bool is_currently_animating);
- void OnFilterIsPotentiallyAnimatingChanged(bool has_potential_animation);
+
+ void OnIsAnimatingChanged(const PropertyAnimationState& mask,
+ const PropertyAnimationState& state);
bool FilterIsAnimating() const;
bool TransformIsAnimating() const;
« no previous file with comments | « cc/animation/target_property.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698