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

Unified Diff: cc/animation/animation_host.cc

Issue 1988293003: cc : Delete code not used outside tests related to impl-only animations (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
« no previous file with comments | « cc/animation/animation_host.h ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.cc
diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc
index 66ebaa482f038abfe391f0a740c934022f1587b3..71f9c0ccecce1067c88d9973ff8f109d965659ec 100644
--- a/cc/animation/animation_host.cc
+++ b/cc/animation/animation_host.cc
@@ -384,26 +384,6 @@ bool AnimationHost::HasAnyAnimationTargetingProperty(
return !!element_animations->GetAnimation(property);
}
-bool AnimationHost::FilterIsAnimatingOnImplOnly(ElementId element_id) const {
- auto element_animations = GetElementAnimationsForElementId(element_id);
- if (!element_animations)
- return false;
-
- Animation* animation =
- element_animations->GetAnimation(TargetProperty::FILTER);
- return animation && animation->is_impl_only();
-}
-
-bool AnimationHost::OpacityIsAnimatingOnImplOnly(ElementId element_id) const {
- auto element_animations = GetElementAnimationsForElementId(element_id);
- if (!element_animations)
- return false;
-
- Animation* animation =
- element_animations->GetAnimation(TargetProperty::OPACITY);
- return animation && animation->is_impl_only();
-}
-
bool AnimationHost::ScrollOffsetIsAnimatingOnImplOnly(
ElementId element_id) const {
auto element_animations = GetElementAnimationsForElementId(element_id);
@@ -415,16 +395,6 @@ bool AnimationHost::ScrollOffsetIsAnimatingOnImplOnly(
return animation && animation->is_impl_only();
}
-bool AnimationHost::TransformIsAnimatingOnImplOnly(ElementId element_id) const {
- auto element_animations = GetElementAnimationsForElementId(element_id);
- if (!element_animations)
- return false;
-
- Animation* animation =
- element_animations->GetAnimation(TargetProperty::TRANSFORM);
- return animation && animation->is_impl_only();
-}
-
bool AnimationHost::HasFilterAnimationThatInflatesBounds(
ElementId element_id) const {
auto element_animations = GetElementAnimationsForElementId(element_id);
« no previous file with comments | « cc/animation/animation_host.h ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698