| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | |
| 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
| 9 #include "base/message_loop_proxy.h" | |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor
t.h" | |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformOperati
ons.h" | |
| 13 | |
| 14 namespace WebKit { | |
| 15 class WebGraphicsContext3D; | |
| 16 } | |
| 17 | |
| 18 namespace webkit { | |
| 19 | |
| 20 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { | |
| 21 public: | |
| 22 WebCompositorSupportImpl(); | |
| 23 virtual ~WebCompositorSupportImpl(); | |
| 24 | |
| 25 virtual WebKit::WebLayer* createLayer(); | |
| 26 virtual WebKit::WebContentLayer* createContentLayer( | |
| 27 WebKit::WebContentLayerClient* client); | |
| 28 virtual WebKit::WebExternalTextureLayer* createExternalTextureLayer( | |
| 29 WebKit::WebExternalTextureLayerClient* client); | |
| 30 virtual WebKit::WebExternalTextureLayer* | |
| 31 createExternalTextureLayerForMailbox( | |
| 32 WebKit::WebExternalTextureLayerClient* client); | |
| 33 virtual WebKit::WebImageLayer* createImageLayer(); | |
| 34 virtual WebKit::WebSolidColorLayer* createSolidColorLayer(); | |
| 35 virtual WebKit::WebScrollbarLayer* createScrollbarLayer( | |
| 36 WebKit::WebScrollbar* scrollbar, | |
| 37 WebKit::WebScrollbarThemePainter painter, | |
| 38 WebKit::WebScrollbarThemeGeometry*); | |
| 39 virtual WebKit::WebAnimation* createAnimation( | |
| 40 const WebKit::WebAnimationCurve& curve, | |
| 41 WebKit::WebAnimation::TargetProperty target, | |
| 42 int animation_id); | |
| 43 virtual WebKit::WebFloatAnimationCurve* createFloatAnimationCurve(); | |
| 44 virtual WebKit::WebTransformAnimationCurve* createTransformAnimationCurve(); | |
| 45 virtual WebKit::WebTransformOperations* createTransformOperations(); | |
| 46 | |
| 47 private: | |
| 48 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | |
| 49 }; | |
| 50 | |
| 51 } // namespace webkit | |
| 52 | |
| 53 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | |
| OLD | NEW |