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

Unified Diff: cc/test/animation_test_common.h

Issue 11783037: Not for review: Enable accelerated animations for orphaned layers (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Wait for layout to complete before starting orphaned animations Created 7 years, 11 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_tree_host.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_test_common.h
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index 95e427993db467fa30903b516f0f9280ebc77932..001782cb1968d4df3818d8458987e97343b2f5d7 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -70,6 +70,7 @@ public:
virtual void OnOpacityAnimated(float) OVERRIDE;
virtual void OnTransformAnimated(const gfx::Transform&) OVERRIDE;
virtual bool IsActive() const OVERRIDE;
+ virtual bool IsOrphaned() const OVERRIDE;
float opacity() const { return m_opacity; }
const gfx::Transform& transform() const { return m_transform; }
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698