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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

Issue 2559273003: Blink Compositor Animation: Introduce CompositorAnimationHost correctly. (Closed)
Patch Set: Allocate on stack in unit tests. Created 4 years 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/scroll/ScrollableArea.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
index 6ef640fa00f5c302b8fb0228252508e1e5eb3703..bdb723f7d1af05d49bb8b617a046f8144225b372 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h
@@ -41,6 +41,8 @@
namespace blink {
+class CompositorAnimationHost;
+class CompositorAnimationTimeline;
class GraphicsLayer;
class HostWindow;
class LayoutBox;
@@ -150,6 +152,9 @@ class PLATFORM_EXPORT ScrollableArea : public GarbageCollectedMixin {
return m_programmaticScrollAnimator;
}
+ virtual CompositorAnimationHost* compositorAnimationHost() const {
+ return nullptr;
+ }
virtual CompositorAnimationTimeline* compositorAnimationTimeline() const {
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698