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

Unified Diff: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h

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 | « cc/test/CCRenderPassTestCommon.h ('k') | webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h
diff --git a/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h
new file mode 100644
index 0000000000000000000000000000000000000000..321e9c3e61be7e5a0f77f5a783d1765627289cde
--- /dev/null
+++ b/webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h
@@ -0,0 +1,30 @@
+// 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.
+
+#ifndef WebDelegatedRendererLayerImpl_h
+#define WebDelegatedRendererLayerImpl_h
+
+#include "WebLayerImpl.h"
+#include <public/WebDelegatedRendererLayer.h>
+#include <wtf/OwnPtr.h>
+
+namespace WebKit {
+
+class WebDelegatedRendererLayerImpl : public WebDelegatedRendererLayer {
+public:
+ WebDelegatedRendererLayerImpl();
+
+ // WebDelegatedRendererLayer implementation.
+ virtual WebLayer* layer() OVERRIDE;
+
+protected:
+ virtual ~WebDelegatedRendererLayerImpl();
+
+private:
+ OwnPtr<WebLayerImpl> m_layer;
+};
+
+} // namespace WebKit
+
+#endif // WebDelegatedLayerImpl_h
« no previous file with comments | « cc/test/CCRenderPassTestCommon.h ('k') | webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698