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

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: Created 5 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: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 282642e05ed59e100f62299c92d5626c19a55bf0..c8f4f9ba26ce36a20be66b10d2a3756811f39c30 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -4307,6 +4307,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