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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 2130053002: cc: Clean up Layer and LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@start_minor_layer_cleanup
Patch Set: Rebase Created 4 years, 5 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/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 903236ec060f00df4cf06b52e4188581bda9c359..a9d4e06dbc466f061444e699de75f904e4f9cc8d 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -1469,81 +1469,6 @@ gfx::ScrollOffset LayerTreeHost::GetScrollOffsetForAnimation(
return layer->ScrollOffsetForAnimation();
}
-bool LayerTreeHost::ScrollOffsetAnimationWasInterrupted(
- const Layer* layer) const {
- return animation_host_->ScrollOffsetAnimationWasInterrupted(
- layer->element_id());
-}
-
-bool LayerTreeHost::IsAnimatingFilterProperty(const Layer* layer) const {
- return animation_host_->IsAnimatingFilterProperty(layer->element_id(),
- ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::IsAnimatingOpacityProperty(const Layer* layer) const {
- return animation_host_->IsAnimatingOpacityProperty(layer->element_id(),
- ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::IsAnimatingTransformProperty(const Layer* layer) const {
- return animation_host_->IsAnimatingTransformProperty(layer->element_id(),
- ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::HasPotentiallyRunningFilterAnimation(
- const Layer* layer) const {
- return animation_host_->HasPotentiallyRunningFilterAnimation(
- layer->element_id(), ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::HasPotentiallyRunningOpacityAnimation(
- const Layer* layer) const {
- return animation_host_->HasPotentiallyRunningOpacityAnimation(
- layer->element_id(), ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::HasPotentiallyRunningTransformAnimation(
- const Layer* layer) const {
- return animation_host_->HasPotentiallyRunningTransformAnimation(
- layer->element_id(), ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::HasOnlyTranslationTransforms(const Layer* layer) const {
- return animation_host_->HasOnlyTranslationTransforms(layer->element_id(),
- ElementListType::ACTIVE);
-}
-
-bool LayerTreeHost::MaximumTargetScale(const Layer* layer,
- float* max_scale) const {
- return animation_host_->MaximumTargetScale(
- layer->element_id(), ElementListType::ACTIVE, max_scale);
-}
-
-bool LayerTreeHost::AnimationStartScale(const Layer* layer,
- float* start_scale) const {
- return animation_host_->AnimationStartScale(
- layer->element_id(), ElementListType::ACTIVE, start_scale);
-}
-
-bool LayerTreeHost::HasAnyAnimationTargetingProperty(
- const Layer* layer,
- TargetProperty::Type property) const {
- return animation_host_->HasAnyAnimationTargetingProperty(layer->element_id(),
- property);
-}
-
-bool LayerTreeHost::AnimationsPreserveAxisAlignment(const Layer* layer) const {
- return animation_host_->AnimationsPreserveAxisAlignment(layer->element_id());
-}
-
-bool LayerTreeHost::HasAnyAnimation(const Layer* layer) const {
- return animation_host_->HasAnyAnimation(layer->element_id());
-}
-
-bool LayerTreeHost::HasActiveAnimationForTesting(const Layer* layer) const {
- return animation_host_->HasActiveAnimationForTesting(layer->element_id());
-}
-
bool LayerTreeHost::IsSingleThreaded() const {
DCHECK(compositor_mode_ != CompositorMode::SINGLE_THREADED ||
!task_runner_provider_->HasImplThread());
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698