summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/IntRect.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/IntRect.h')
-rw-r--r--WebCore/platform/graphics/IntRect.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/IntRect.h b/WebCore/platform/graphics/IntRect.h
index 84adf20..03784a3 100644
--- a/WebCore/platform/graphics/IntRect.h
+++ b/WebCore/platform/graphics/IntRect.h
@@ -44,7 +44,9 @@ typedef struct _NSRect NSRect;
#if PLATFORM(WIN)
typedef struct tagRECT RECT;
#elif PLATFORM(QT)
+QT_BEGIN_NAMESPACE
class QRect;
+QT_END_NAMESPACE
#elif PLATFORM(GTK)
typedef struct _GdkRectangle GdkRectangle;
#endif
@@ -56,6 +58,11 @@ class TRect;
class wxRect;
#endif
+#if PLATFORM(SKIA)
+struct SkRect;
+struct SkIRect;
+#endif
+
namespace WebCore {
class FloatRect;
@@ -151,6 +158,12 @@ public:
operator CGRect() const;
#endif
+#if PLATFORM(SKIA)
+ IntRect(const SkIRect&);
+ operator SkRect() const;
+ operator SkIRect() const;
+#endif
+
#if PLATFORM(MAC) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES)
operator NSRect() const;
#endif