tizen beta release
[framework/web/webkit-efl.git] / Source / WebCore / svg / graphics / SVGImage.h
index ea9c509..1e3fe4f 100755 (executable)
@@ -34,7 +34,9 @@
 
 namespace WebCore {
 
+class ImageBuffer;
 class Page;
+class RenderBox;
 class SVGImageChromeClient;
 
 class SVGImage : public Image {
@@ -44,7 +46,16 @@ public:
         return adoptRef(new SVGImage(observer));
     }
 
+    enum ShouldClearBuffer {
+        ClearImageBuffer,
+        DontClearImageBuffer
+    };
+
+    void drawSVGToImageBuffer(ImageBuffer*, const IntSize&, float zoom, ShouldClearBuffer);
+    RenderBox* embeddedContentBox() const;
+
     virtual bool isSVGImage() const { return true; }
+    virtual IntSize size() const;
 
 private:
     virtual ~SVGImage();
@@ -53,10 +64,7 @@ private:
 
     virtual void setContainerSize(const IntSize&);
     virtual bool usesContainerSize() const;
-    virtual bool hasRelativeWidth() const;
-    virtual bool hasRelativeHeight() const;
-
-    virtual IntSize size() const;
+    virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio);
 
     virtual bool dataChanged(bool allDataReceived);