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

Unified Diff: cc/layer_animation_value_observer.h

Issue 11633044: We don't want to tick animation controllers for non-active layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding the suggested TODO. Created 7 years, 12 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/layer_animation_controller.cc ('k') | cc/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_animation_value_observer.h
diff --git a/cc/layer_animation_value_observer.h b/cc/layer_animation_value_observer.h
index bb8e2ab21b0aa9e8825fae1d0c6aeb0ed5ca26aa..859e8a2f93880a83edc8ac60f5b47532ee8d4ee3 100644
--- a/cc/layer_animation_value_observer.h
+++ b/cc/layer_animation_value_observer.h
@@ -13,6 +13,8 @@ class CC_EXPORT LayerAnimationValueObserver {
virtual void OnOpacityAnimated(float) = 0;
virtual void OnTransformAnimated(const gfx::Transform&) = 0;
+
+ virtual bool IsActive() const = 0;
};
} // namespace cc
« no previous file with comments | « cc/layer_animation_controller.cc ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698