Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebCompositorSupport.h
index 140cfd2..7b74c25 100644 (file)
@@ -27,7 +27,9 @@
 #define WebCompositorSupport_h
 
 #include "WebAnimation.h"
+#include "WebAnimationCurve.h"
 #include "WebCommon.h"
+#include "WebFloatPoint.h"
 #include "WebLayerTreeView.h"
 #include "WebScrollbar.h"
 #include "WebScrollbarThemePainter.h"
@@ -49,15 +51,14 @@ class WebNinePatchLayer;
 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; }
@@ -74,9 +75,6 @@ public:
 
     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; }
 
@@ -84,12 +82,14 @@ public:
 
     // 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; }