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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2515363002: Introduce AnimationWorkletProxyClient and necessary plumbing to get it in worklet messaging proxy. (Closed)
Patch Set: Remove unnecessary PLATFORM_EXPORT Created 3 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/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 617bc5e4a4da7982c3b25631ad4414ad4487db8d..d9c3c44041b58c8a129b5c303958ccbd8f8c6723 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1157,10 +1157,20 @@ void ChromeClientImpl::didUpdateBrowserControls() const {
m_webView->didUpdateBrowserControls();
}
-CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(
- LocalFrame* frame) {
+CompositorWorkerProxyClient*
+ChromeClientImpl::createCompositorWorkerProxyClient(LocalFrame* frame) {
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
+ return webFrame->localRoot()
+ ->frameWidget()
+ ->createCompositorWorkerProxyClient();
+}
+
+AnimationWorkletProxyClient*
+ChromeClientImpl::createAnimationWorkletProxyClient(LocalFrame* frame) {
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
- return webFrame->localRoot()->frameWidget()->createCompositorProxyClient();
+ return webFrame->localRoot()
+ ->frameWidget()
+ ->createAnimationWorkletProxyClient();
}
void ChromeClientImpl::registerPopupOpeningObserver(
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.h ('k') | third_party/WebKit/Source/web/CompositorAnimator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698