Chromium Code Reviews| Index: webkit/compositor/web_compositor_support_impl.h |
| diff --git a/webkit/compositor/web_compositor_support_impl.h b/webkit/compositor/web_compositor_support_impl.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..197342ccccd3d6b499b4b471280293001b3571ea |
| --- /dev/null |
| +++ b/webkit/compositor/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 WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
|
tfarina
2012/09/01 01:50:02
does this needs to follow our header guards conven
|
| +#define 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( |
|
tfarina
2012/09/01 01:52:14
Are these virtual functions overrides from WebComp
|
| + 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 // WEB_COMPOSITOR_SUPPORT_IMPL_H_ |