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

Unified Diff: Source/web/WebFrameWidgetImpl.cpp

Issue 946323002: Animations: Introduce compositor AnimationPlayer and AnimationTimeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix the order. Created 5 years, 9 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: Source/web/WebFrameWidgetImpl.cpp
diff --git a/Source/web/WebFrameWidgetImpl.cpp b/Source/web/WebFrameWidgetImpl.cpp
index cac9449ff407e792b9c4da16d17e0efd88f44d25..3b04e08808654390c313139d7c63fe48ff7d128e 100644
--- a/Source/web/WebFrameWidgetImpl.cpp
+++ b/Source/web/WebFrameWidgetImpl.cpp
@@ -1014,6 +1014,12 @@ void WebFrameWidgetImpl::setRootGraphicsLayer(GraphicsLayer* layer)
suppressInvalidations(false);
}
+void WebFrameWidgetImpl::setCompositorAnimationTimeline(WebCompositorAnimationTimeline* compositorTimeline)
+{
+ if (m_layerTreeView)
+ m_layerTreeView->setCompositorAnimationTimeline(compositorTimeline);
+}
+
void WebFrameWidgetImpl::setVisibilityState(WebPageVisibilityState visibilityState, bool isInitialState)
{
if (!m_page)

Powered by Google App Engine
This is Rietveld 408576698