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

Unified Diff: Source/web/WebViewImpl.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/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 6863b785e5b71a64838b9d1abbe79b3e3d0f2081..5c2f1edddcd40f084dfec8d84ed97d8a132ba447 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -4381,6 +4381,12 @@ void WebViewImpl::scheduleAnimation()
m_client->scheduleAnimation();
}
+void WebViewImpl::setCompositorAnimationTimeline(WebCompositorAnimationTimeline* timeline)
+{
+ if (m_layerTreeView)
+ m_layerTreeView->setCompositorAnimationTimeline(timeline);
+}
+
void WebViewImpl::initializeLayerTreeView()
{
if (m_client) {

Powered by Google App Engine
This is Rietveld 408576698