| Index: webkit/api/public/WebImage.h
|
| ===================================================================
|
| --- webkit/api/public/WebImage.h (revision 20148)
|
| +++ webkit/api/public/WebImage.h (working copy)
|
| @@ -39,6 +39,11 @@
|
| typedef struct CGImage* CGImageRef;
|
| #endif
|
|
|
| +#if WEBKIT_IMPLEMENTATION
|
| +namespace WebCore { class Image; }
|
| +namespace WTF { template <typename T> class PassRefPtr; }
|
| +#endif
|
| +
|
| namespace WebKit {
|
| class WebData;
|
| struct WebSize;
|
| @@ -68,6 +73,11 @@
|
| WEBKIT_API bool isNull() const;
|
| WEBKIT_API WebSize size() const;
|
|
|
| +#if WEBKIT_IMPLEMENTATION
|
| + WebImage(const WTF::PassRefPtr<WebCore::Image>&);
|
| + WebImage& operator=(const WTF::PassRefPtr<WebCore::Image>&);
|
| +#endif
|
| +
|
| #if WEBKIT_USING_SKIA
|
| WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { }
|
|
|
|
|