#ifndef WebCompositorSupport_h
#define WebCompositorSupport_h
#include "WebAnimation.h"
#include "WebCommon.h"
#include "WebLayerTreeView.h"
#include "WebScrollbar.h"
#include "WebScrollbarThemePainter.h"
namespace blink {
class WebAnimationCurve;
class WebCompositorOutputSurface;
class WebContentLayer;
class WebContentLayerClient;
class WebExternalTextureLayer;
class WebExternalTextureLayerClient;
class WebFilterAnimationCurve;
class WebFilterOperations;
class WebFloatAnimationCurve;
class WebGraphicsContext3D;
class WebImageLayer;
class WebNinePatchLayer;
class WebLayer;
class WebScrollbarLayer;
class WebScrollbarThemeGeometry;
class WebSolidColorLayer;
class WebThread;
class WebTransformAnimationCurve;
class WebTransformOperations;
class WebCompositorSupport {
public:
virtual WebCompositorOutputSurface* createOutputSurfaceFor3D(blink::WebGraphicsContext3D*) { return 0; }
virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { return 0; }
virtual WebLayer* createLayer() { return 0; }
virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; }
virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextureLayerClient*) { return 0; }
virtual WebImageLayer* createImageLayer() { return 0; }
virtual WebNinePatchLayer* createNinePatchLayer() { return 0; }
virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }
virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarThemePainter, WebScrollbarThemeGeometry*) { return 0; }
virtual WebScrollbarLayer* createSolidColorScrollbarLayer(WebScrollbar::Orientation, int thumbThickness, bool isLeftSideVerticalScrollbar) { return 0; }
virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation::TargetProperty, int animationId = 0) { return 0; }
virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
virtual WebTransformOperations* createTransformOperations() { return 0; }
virtual WebFilterOperations* createFilterOperations() { return 0; }
protected:
virtual ~WebCompositorSupport() { }
};
}
#endif