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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorFactory.h

Issue 1734063003: Share animations from compositor to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make NotifyAnimationTakeover pure virtual Created 4 years, 10 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: third_party/WebKit/Source/platform/graphics/CompositorFactory.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFactory.h b/third_party/WebKit/Source/platform/graphics/CompositorFactory.h
index 612dfda9b2ff630ed9c1d9ff0dca96af528304e3..098e3e0350d943d7178f9cf6b32ba8c9032c4608 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorFactory.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorFactory.h
@@ -40,6 +40,9 @@ public:
CompositorAnimationCurve::TimingFunctionType,
CompositorScrollOffsetAnimationCurve::ScrollDurationBehavior) { return nullptr; }
+ virtual CompositorScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve(
+ cc::ScrollOffsetAnimationCurve* curve) { return nullptr; }
+
virtual CompositorTransformAnimationCurve* createTransformAnimationCurve() { return nullptr; }
virtual CompositorTransformOperations* createTransformOperations() { return nullptr; }

Powered by Google App Engine
This is Rietveld 408576698