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

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: Final checklist: cleanup ordering in WebCompositedDisplayList 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
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index 6dcd9436c0ca1f8e8446fc202039189bcb3fccad..7f94b2dcb0b6ea8e2ed9b82f97cb8f0a9de1152a 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -721,6 +721,18 @@ void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer, LocalFr
}
}
+void ChromeClientImpl::setCompositedDisplayList(PassOwnPtr<CompositedDisplayList> compositedDisplayList)
+{
+ m_webView->setCompositedDisplayList(compositedDisplayList);
+}
+
+CompositedDisplayList* ChromeClientImpl::compositedDisplayListForTesting()
+{
+ if (WebCompositedDisplayList* compositedDisplayList = m_webView->compositedDisplayList())
+ return compositedDisplayList->compositedDisplayListForTesting();
+ return nullptr;
+}
+
void ChromeClientImpl::attachCompositorAnimationTimeline(WebCompositorAnimationTimeline* compositorTimeline, LocalFrame* localRoot)
{
// FIXME: For top-level frames we still use the WebView as a WebWidget. This
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698