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

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.h

Issue 10918037: Implementation of WebCompositorSupport when use_libcc_for_compositor=1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ignore c4800 in webkit_glue 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/web_compositor_support_impl.h
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.h b/webkit/compositor_bindings/web_compositor_support_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..6b04938c29bb7d85ca5b2de641f1f31d9732e77c
--- /dev/null
+++ b/webkit/compositor_bindings/web_compositor_support_impl.h
@@ -0,0 +1,50 @@
+// Copyright (c) 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 WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
+#define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
+
+#include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSupport.h"
+
+namespace webkit {
+
+class WebCompositorSupportImpl : public WebKit::WebCompositorSupport {
+ public:
+ WebCompositorSupportImpl();
+ virtual ~WebCompositorSupportImpl();
+
+ virtual WebKit::WebLayerTreeView* createLayerTreeView(
+ WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root,
+ const WebKit::WebLayerTreeView::Settings& settings);
+
+ virtual WebKit::WebLayer* createLayer();
+ virtual WebKit::WebContentLayer* createContentLayer(
+ WebKit::WebContentLayerClient* client);
+ virtual WebKit::WebExternalTextureLayer*
+ createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client);
+ virtual WebKit::WebIOSurfaceLayer*
+ createIOSurfaceLayer();
+ virtual WebKit::WebImageLayer* createImageLayer();
+ virtual WebKit::WebSolidColorLayer*
+ createSolidColorLayer();
+ virtual WebKit::WebVideoLayer*
+ createVideoLayer(WebKit::WebVideoFrameProvider*);
+ virtual WebKit::WebScrollbarLayer* createScrollbarLayer(
+ WebKit::WebScrollbar* scrollbar,
+ WebKit::WebScrollbarThemePainter painter,
+ WebKit::WebScrollbarThemeGeometry*);
+ virtual WebKit::WebAnimation* createAnimation(
+ const WebKit::WebAnimationCurve& curve,
+ WebKit::WebAnimation::TargetProperty target,
+ int animationId);
+ virtual WebKit::WebFloatAnimationCurve*
+ createFloatAnimationCurve();
+ virtual WebKit::WebTransformAnimationCurve*
+ createTransformAnimationCurve();
+};
+
+} // namespace webkit
+
+#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_
« no previous file with comments | « webkit/compositor_bindings/compositor_bindings.gyp ('k') | webkit/compositor_bindings/web_compositor_support_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698