| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor
t.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorSuppor
t.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 namespace webkit { | 22 namespace webkit { |
| 23 | 23 |
| 24 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { | 24 class WebCompositorSupportImpl : public WebKit::WebCompositorSupport { |
| 25 public: | 25 public: |
| 26 WebCompositorSupportImpl(); | 26 WebCompositorSupportImpl(); |
| 27 virtual ~WebCompositorSupportImpl(); | 27 virtual ~WebCompositorSupportImpl(); |
| 28 | 28 |
| 29 virtual void initialize(WebKit::WebThread* implThread); | 29 virtual void initialize(WebKit::WebThread* implThread); |
| 30 virtual bool isThreadingEnabled(); | 30 virtual bool isThreadingEnabled(); |
| 31 virtual void shutdown(); | 31 virtual void shutdown(); |
| 32 virtual WebKit::WebLayerTreeView* createLayerTreeView( | |
| 33 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, | |
| 34 const WebKit::WebLayerTreeView::Settings& settings); | |
| 35 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D( | 32 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceFor3D( |
| 36 WebKit::WebGraphicsContext3D* context); | 33 WebKit::WebGraphicsContext3D* context); |
| 37 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware(); | 34 virtual WebKit::WebCompositorOutputSurface* createOutputSurfaceForSoftware(); |
| 38 virtual WebKit::WebLayer* createLayer(); | 35 virtual WebKit::WebLayer* createLayer(); |
| 39 virtual WebKit::WebContentLayer* createContentLayer( | 36 virtual WebKit::WebContentLayer* createContentLayer( |
| 40 WebKit::WebContentLayerClient* client); | 37 WebKit::WebContentLayerClient* client); |
| 41 virtual WebKit::WebExternalTextureLayer* | 38 virtual WebKit::WebExternalTextureLayer* |
| 42 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); | 39 createExternalTextureLayer(WebKit::WebExternalTextureLayerClient* client); |
| 43 virtual WebKit::WebIOSurfaceLayer* | 40 virtual WebKit::WebIOSurfaceLayer* |
| 44 createIOSurfaceLayer(); | 41 createIOSurfaceLayer(); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 55 const WebKit::WebAnimationCurve& curve, | 52 const WebKit::WebAnimationCurve& curve, |
| 56 WebKit::WebAnimation::TargetProperty target, | 53 WebKit::WebAnimation::TargetProperty target, |
| 57 int animationId); | 54 int animationId); |
| 58 virtual WebKit::WebFloatAnimationCurve* | 55 virtual WebKit::WebFloatAnimationCurve* |
| 59 createFloatAnimationCurve(); | 56 createFloatAnimationCurve(); |
| 60 virtual WebKit::WebTransformAnimationCurve* | 57 virtual WebKit::WebTransformAnimationCurve* |
| 61 createTransformAnimationCurve(); | 58 createTransformAnimationCurve(); |
| 62 virtual WebKit::WebTransformOperations* | 59 virtual WebKit::WebTransformOperations* |
| 63 createTransformOperations(); | 60 createTransformOperations(); |
| 64 | 61 |
| 62 virtual WebKit::WebLayerTreeView* createLayerTreeView( |
| 63 WebKit::WebLayerTreeViewClient* client, const WebKit::WebLayer& root, |
| 64 const WebKit::WebLayerTreeView::Settings& settings); |
| 65 private: | 65 private: |
| 66 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_; | 66 scoped_refptr<base::MessageLoopProxy> impl_thread_message_loop_proxy_; |
| 67 bool initialized_; | 67 bool initialized_; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace webkit | 70 } // namespace webkit |
| 71 | 71 |
| 72 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 72 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| OLD | NEW |