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

Unified Diff: ui/compositor/layer.h

Issue 1101823002: CC Animations: Make LayerAnimationController creation optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 3dbd1733b0b2982eacc194383e25f1dcc12a441e..fa6bd7b72868ace2520e2290ea6c7d5a19dfacce 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -413,6 +413,10 @@ class COMPOSITOR_EXPORT Layer
// Creates a corresponding composited layer for |type_|.
void CreateCcLayer();
+ void RegisterForAnimations(Compositor* compositor);
+ void AttachObservers();
+ void DetachObservers();
+
// Recomputes and sets to |cc_layer_|.
void RecomputeDrawsContentAndUVRect();
void RecomputePosition();

Powered by Google App Engine
This is Rietveld 408576698