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

Unified Diff: cc/layers/layer_impl.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/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 840772df706ddf67a926f9daa250d066743ef2d6..01feef4e003b7125c71d853846a32d0fd7944e3a 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -93,12 +93,8 @@ class CC_EXPORT LayerImpl {
// Interactions with attached animations.
gfx::ScrollOffset ScrollOffsetForAnimation() const;
- void OnTransformIsCurrentlyAnimatingChanged(bool is_currently_animating);
- void OnTransformIsPotentiallyAnimatingChanged(bool has_potential_animation);
- 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 IsActive() const;
void DistributeScroll(ScrollState* scroll_state);
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698