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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase from space, also minor cleanups Created 5 years, 4 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/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 6dcd9436c0ca1f8e8446fc202039189bcb3fccad..9bc52f98890a8384b3effec6da1da5925bd2e08c 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -721,6 +721,16 @@ void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer, LocalFr
}
}
+void ChromeClientImpl::setCompositedDisplayList(PassOwnPtr<WebCompositedDisplayList> compositedDisplayList)
+{
+ m_webView->setCompositedDisplayList(compositedDisplayList.leakPtr());
+}
+
+WebCompositedDisplayList* ChromeClientImpl::compositedDisplayListForTesting()
+{
+ return m_webView->compositedDisplayList();
+}
+
void ChromeClientImpl::attachCompositorAnimationTimeline(WebCompositorAnimationTimeline* compositorTimeline, LocalFrame* localRoot)
{
// FIXME: For top-level frames we still use the WebView as a WebWidget. This

Powered by Google App Engine
This is Rietveld 408576698