#define WebCompositorSupport_h
#include "WebAnimation.h"
+#include "WebAnimationCurve.h"
#include "WebCommon.h"
+#include "WebFloatPoint.h"
#include "WebLayerTreeView.h"
#include "WebScrollbar.h"
#include "WebScrollbarThemePainter.h"
class WebLayer;
class WebScrollbarLayer;
class WebScrollbarThemeGeometry;
-class WebSolidColorLayer;
-class WebThread;
+class WebScrollOffsetAnimationCurve;
class WebTransformAnimationCurve;
class WebTransformOperations;
class WebCompositorSupport {
public:
// Creates an output surface for the compositor backed by a 3d context.
- virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(blink::WebGraphicsContext3D*) { return 0; }
+ virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(WebGraphicsContext3D*) { return 0; }
// Creates an output surface for the compositor backed by a software device.
virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { return 0; }
virtual WebNinePatchLayer* createNinePatchLayer() { return 0; }
- // TODO(dshwang): This isn't used anymore.
- virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }
-
// The ownership of the WebScrollbarThemeGeometry pointer is passed to Chromium.
virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarThemeGeometry*) { return 0; }
// Animation ----------------------------------------------------
- virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation::TargetProperty, int animationId = 0) { return 0; }
+ virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimationCurve&, WebCompositorAnimation::TargetProperty, int animationId = 0) { return 0; }
virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
+ virtual WebScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve(WebFloatPoint targetValue, WebAnimationCurve::TimingFunctionType) { return 0; }
+
virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
virtual WebTransformOperations* createTransformOperations() { return 0; }