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

Unified Diff: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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 | « webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
diff --git a/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
index d8c9d1b90228eddb51335c06d7aa230c2974bee0..ca45217f5ba9ae22a727cd7493cecbaf78535de3 100644
--- a/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
+++ b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
@@ -5,7 +5,8 @@
#include "config.h"
#include "WebDelegatedRendererLayerImpl.h"
-#include "DelegatedRendererLayerChromium.h"
+#include "cc/compositor_frame.h"
+#include "cc/DelegatedRendererLayerChromium.h"
using namespace cc;
@@ -25,4 +26,14 @@ WebLayer* WebDelegatedRendererLayerImpl::layer()
return m_layer.get();
}
+void WebDelegatedRendererLayerImpl::setFrameData(const WebCompositorFrame& frame)
+{
+ static_cast<DelegatedRendererLayerChromium*>(m_layer->layer())->setFrameData(static_cast<const CompositorFrame&>(frame));
+}
+
+void WebDelegatedRendererLayerImpl::getRecycledResources(WebCompositorTransferableResourceList* list)
+{
+ static_cast<DelegatedRendererLayerChromium*>(m_layer->layer())->getRecycledResources(static_cast<TransferableResourceList*>(list));
+}
+
} // namespace WebKit
« no previous file with comments | « webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698