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

Unified Diff: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp

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
Index: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
diff --git a/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..d8c9d1b90228eddb51335c06d7aa230c2974bee0
--- /dev/null
+++ b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp
@@ -0,0 +1,28 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "WebDelegatedRendererLayerImpl.h"
+
+#include "DelegatedRendererLayerChromium.h"
+
+using namespace cc;
+
+namespace WebKit {
+
+WebDelegatedRendererLayerImpl::WebDelegatedRendererLayerImpl()
+ : m_layer(adoptPtr(new WebLayerImpl(DelegatedRendererLayerChromium::create())))
+{
+}
+
+WebDelegatedRendererLayerImpl::~WebDelegatedRendererLayerImpl()
+{
+}
+
+WebLayer* WebDelegatedRendererLayerImpl::layer()
+{
+ return m_layer.get();
+}
+
+} // namespace WebKit
« no previous file with comments | « webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h ('k') | webkit/compositor_bindings/compositor_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698