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

Unified Diff: Source/web/WebViewImpl.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/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index dd1a2a03a9dc7e9550e348bfdf5f574da71b05f4..182bc13a7246f269f6b21902d93874c0ae72e4fe 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3368,6 +3368,16 @@ WebSize WebViewImpl::contentsPreferredMinimumSize()
return IntSize(widthScaled, heightScaled);
}
+void WebViewImpl::setCompositedDisplayList(WebCompositedDisplayList* compositedDisplayList)
+{
+ m_compositedDisplayList = adoptPtr(compositedDisplayList);
+}
+
+WebCompositedDisplayList* WebViewImpl::compositedDisplayList()
+{
+ return m_compositedDisplayList.get();
+}
+
void WebViewImpl::enableViewport()
{
settings()->setViewportEnabled(true);

Powered by Google App Engine
This is Rietveld 408576698