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

Unified Diff: cc/layers/layer_impl.h

Issue 2357533002: CC Animation: Use std::bitset to update animation state. (Closed)
Patch Set: Clean it up. Created 4 years, 3 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_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index f7b4a3ef465a23dd552bd359a493ea2388dbb9bb..ed8292d9ce4cfc25a1a28a2d90e73b419c04e358 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);

Powered by Google App Engine
This is Rietveld 408576698