diff options
Diffstat (limited to 'WebCore/platform/graphics/BitmapImage.h')
-rw-r--r-- | WebCore/platform/graphics/BitmapImage.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/BitmapImage.h b/WebCore/platform/graphics/BitmapImage.h index 0185027..154d829 100644 --- a/WebCore/platform/graphics/BitmapImage.h +++ b/WebCore/platform/graphics/BitmapImage.h @@ -44,6 +44,10 @@ class NSImage; typedef struct HBITMAP__ *HBITMAP; #endif +#if PLATFORM(SGL) + class SkBitmapRef; +#endif + namespace WebCore { struct FrameData; } @@ -127,6 +131,11 @@ public: virtual bool getHBITMAPOfSize(HBITMAP, LPSIZE); #endif +#if PLATFORM(SGL) + virtual SkBitmapRef* getBitmap(); + virtual void setURL(const String& str); +#endif + virtual NativeImagePtr nativeImageForCurrentFrame() { return frameAtIndex(currentFrame()); } private: @@ -184,6 +193,10 @@ private: mutable RetainPtr<CFDataRef> m_tiffRep; // Cached TIFF rep for frame 0. Only built lazily if someone queries for one. #endif +#if PLATFORM(SGL) + SkBitmapRef* m_bitmapRef; +#endif + Color m_solidColor; // If we're a 1x1 solid color, this is the color to use to fill. bool m_isSolidColor; // Whether or not we are a 1x1 solid image. |