Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: webkit/api/public/WebImage.h

Issue 155172: Start using WebCursorInfo from the WebKit API. WebCursorInfo is a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/public/WebCursorInfo.h ('k') | webkit/api/src/WebCursorInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) { }
« no previous file with comments | « webkit/api/public/WebCursorInfo.h ('k') | webkit/api/src/WebCursorInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698