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

Unified Diff: cc/trees/layer_tree_host.h

Issue 1010663002: CC Animations: Redirect all compositor animation requests to AnimationHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@introduce
Patch Set: Rebase and fix conflicts (HasPotentiallyRunningTransformAnimation) Created 5 years, 8 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/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 23aa6a394333fc81558b2e1f48095ad1443e00f5..1be62611758ced6d7eeaaa3582f926688e38f0c3 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -255,7 +255,6 @@ class CC_EXPORT LayerTreeHost : public LayerTreeMutatorsClient {
HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
Proxy* proxy() const { return proxy_.get(); }
-
AnimationRegistrar* animation_registrar() const {
return animation_registrar_.get();
}
@@ -334,6 +333,16 @@ class CC_EXPORT LayerTreeHost : public LayerTreeMutatorsClient {
bool active_tree,
const gfx::ScrollOffset& scroll_offset) override;
+ bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const;
+ bool IsAnimatingFilterProperty(const Layer* layer) const;
+ bool IsAnimatingOpacityProperty(const Layer* layer) const;
+ bool IsAnimatingTransformProperty(const Layer* layer) const;
+ bool HasPotentiallyRunningOpacityAnimation(const Layer* layer) const;
+ bool HasPotentiallyRunningTransformAnimation(const Layer* layer) const;
+ bool AnimationsPreserveAxisAlignment(const Layer* layer) const;
+ bool HasAnyAnimation(const Layer* layer) const;
+ bool HasActiveAnimation(const Layer* layer) const;
+
protected:
LayerTreeHost(LayerTreeHostClient* client,
SharedBitmapManager* shared_bitmap_manager,
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698