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

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.cc

Issue 10916307: Add the ubercomp DelegatedRendererLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OwnPtrVector Created 8 years, 3 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/web_compositor_support_impl.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/web_compositor_support_impl.cc
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.cc b/webkit/compositor_bindings/web_compositor_support_impl.cc
index c66c3deb17b1cc18895c4a421a5b58651fedeac2..9c7a1fa97d7960f0fbd8b2f255e9b757c8d7424d 100644
--- a/webkit/compositor_bindings/web_compositor_support_impl.cc
+++ b/webkit/compositor_bindings/web_compositor_support_impl.cc
@@ -11,6 +11,7 @@
#include "webkit/compositor_bindings/WebLayerTreeViewImpl.h"
#include "webkit/compositor_bindings/WebCompositorImpl.h"
#include "webkit/compositor_bindings/WebContentLayerImpl.h"
+#include "webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h"
#include "webkit/compositor_bindings/WebExternalTextureLayerImpl.h"
#include "webkit/compositor_bindings/WebIOSurfaceLayerImpl.h"
#include "webkit/compositor_bindings/WebSolidColorLayerImpl.h"
@@ -39,6 +40,7 @@ using WebKit::WebAnimation;
using WebKit::WebAnimationCurve;
using WebKit::WebContentLayer;
using WebKit::WebContentLayerClient;
+using WebKit::WebDelegatedRendererLayer;
using WebKit::WebExternalTextureLayer;
using WebKit::WebExternalTextureLayerClient;
using WebKit::WebFloatAnimationCurve;
@@ -152,6 +154,11 @@ WebContentLayer* WebCompositorSupportImpl::createContentLayer(
#endif
}
+WebDelegatedRendererLayer*
+ WebCompositorSupportImpl::createDelegatedRendererLayer() {
+ return new WebKit::WebDelegatedRendererLayerImpl();
+}
+
WebExternalTextureLayer* WebCompositorSupportImpl::createExternalTextureLayer(
WebExternalTextureLayerClient* client) {
#if defined(USE_LIBCC_FOR_COMPOSITOR)
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698