Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebLayer.h
index 3950cc1..5d3bac1 100644 (file)
@@ -30,6 +30,7 @@
 #include "WebColor.h"
 #include "WebCommon.h"
 #include "WebCompositorAnimation.h"
+#include "WebDoublePoint.h"
 #include "WebFloatPoint3D.h"
 #include "WebPoint.h"
 #include "WebRect.h"
@@ -46,7 +47,6 @@ class WebFilterOperations;
 class WebLayerClient;
 class WebLayerScrollClient;
 struct WebFloatPoint;
-struct WebFloatRect;
 struct WebLayerPositionConstraint;
 
 class WebLayer {
@@ -57,7 +57,7 @@ public:
     virtual int id() const = 0;
 
     // Sets a region of the layer as invalid, i.e. needs to update its content.
-    virtual void invalidateRect(const WebFloatRect&) = 0;
+    virtual void invalidateRect(const WebRect&) = 0;
 
     // Sets the entire layer as invalid, i.e. needs to update its content.
     virtual void invalidate() = 0;
@@ -161,8 +161,8 @@ public:
     virtual void setClipParent(WebLayer*) = 0;
 
     // Scrolling
-    virtual void setScrollPosition(WebPoint) = 0;
-    virtual WebPoint scrollPosition() const = 0;
+    virtual void setScrollPositionDouble(WebDoublePoint) = 0;
+    virtual WebDoublePoint scrollPositionDouble() const = 0;
 
     // To set a WebLayer as scrollable we must specify the corresponding clip layer.
     virtual void setScrollClipLayer(WebLayer*) = 0;