| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef WebCompositorSupport_h | 26 #ifndef WebCompositorSupport_h |
| 27 #define WebCompositorSupport_h | 27 #define WebCompositorSupport_h |
| 28 | 28 |
| 29 #include "WebAnimation.h" | 29 #include "WebAnimation.h" |
| 30 #include "WebCommon.h" | 30 #include "WebCommon.h" |
| 31 #include "WebLayerTreeView.h" | 31 #include "WebLayerTreeView.h" |
| 32 #include "WebScrollbar.h" |
| 32 #include "WebScrollbarThemePainter.h" | 33 #include "WebScrollbarThemePainter.h" |
| 33 | 34 |
| 34 namespace WebKit { | 35 namespace WebKit { |
| 35 | 36 |
| 36 class WebAnimationCurve; | 37 class WebAnimationCurve; |
| 37 class WebCompositorOutputSurface; | 38 class WebCompositorOutputSurface; |
| 38 class WebContentLayer; | 39 class WebContentLayer; |
| 39 class WebContentLayerClient; | 40 class WebContentLayerClient; |
| 40 class WebExternalTextureLayer; | 41 class WebExternalTextureLayer; |
| 41 class WebExternalTextureLayerClient; | 42 class WebExternalTextureLayerClient; |
| 42 class WebFloatAnimationCurve; | 43 class WebFloatAnimationCurve; |
| 43 class WebGraphicsContext3D; | 44 class WebGraphicsContext3D; |
| 44 class WebImageLayer; | 45 class WebImageLayer; |
| 45 class WebLayer; | 46 class WebLayer; |
| 46 class WebScrollbar; | |
| 47 class WebScrollbarLayer; | 47 class WebScrollbarLayer; |
| 48 class WebScrollbarThemeGeometry; | 48 class WebScrollbarThemeGeometry; |
| 49 class WebSolidColorLayer; | 49 class WebSolidColorLayer; |
| 50 class WebThread; | 50 class WebThread; |
| 51 class WebTransformAnimationCurve; | 51 class WebTransformAnimationCurve; |
| 52 class WebTransformOperations; | 52 class WebTransformOperations; |
| 53 | 53 |
| 54 class WebCompositorSupport { | 54 class WebCompositorSupport { |
| 55 public: | 55 public: |
| 56 // Creates an output surface for the compositor backed by a 3d context. | 56 // Creates an output surface for the compositor backed by a 3d context. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 68 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu
reLayerClient* = 0) { return 0; } | 68 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu
reLayerClient* = 0) { return 0; } |
| 69 | 69 |
| 70 virtual WebExternalTextureLayer* createExternalTextureLayerForMailbox(WebExt
ernalTextureLayerClient*) { return 0; } | 70 virtual WebExternalTextureLayer* createExternalTextureLayerForMailbox(WebExt
ernalTextureLayerClient*) { return 0; } |
| 71 | 71 |
| 72 virtual WebImageLayer* createImageLayer() { return 0; } | 72 virtual WebImageLayer* createImageLayer() { return 0; } |
| 73 | 73 |
| 74 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } | 74 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } |
| 75 | 75 |
| 76 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT
hemePainter, WebScrollbarThemeGeometry*) { return 0; } | 76 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT
hemePainter, WebScrollbarThemeGeometry*) { return 0; } |
| 77 | 77 |
| 78 virtual WebScrollbarLayer* createScrollbarLayer(WebLayer* scrollLayer, WebSc
rollbar::Orientation, size_t thickness) { return 0; } |
| 79 |
| 78 | 80 |
| 79 // Animation ---------------------------------------------------- | 81 // Animation ---------------------------------------------------- |
| 80 | 82 |
| 81 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation
::TargetProperty, int animationId = 0) { return 0; } | 83 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation
::TargetProperty, int animationId = 0) { return 0; } |
| 82 | 84 |
| 83 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } | 85 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } |
| 84 | 86 |
| 85 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return
0; } | 87 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return
0; } |
| 86 | 88 |
| 87 virtual WebTransformOperations* createTransformOperations() { return 0; } | 89 virtual WebTransformOperations* createTransformOperations() { return 0; } |
| 88 | 90 |
| 89 | 91 |
| 90 protected: | 92 protected: |
| 91 virtual ~WebCompositorSupport() { } | 93 virtual ~WebCompositorSupport() { } |
| 92 }; | 94 }; |
| 93 | 95 |
| 94 } | 96 } |
| 95 | 97 |
| 96 #endif // WebCompositorSupport_h | 98 #endif // WebCompositorSupport_h |
| OLD | NEW |