summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/style/ShadowData.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/style/ShadowData.h')
-rw-r--r--WebCore/rendering/style/ShadowData.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/rendering/style/ShadowData.h b/WebCore/rendering/style/ShadowData.h
index 9252e13..ca83af0 100644
--- a/WebCore/rendering/style/ShadowData.h
+++ b/WebCore/rendering/style/ShadowData.h
@@ -30,6 +30,9 @@
namespace WebCore {
+class FloatRect;
+class IntRect;
+
enum ShadowStyle { Normal, Inset };
// This struct holds information about shadows for the text-shadow and box-shadow properties.
@@ -76,6 +79,9 @@ public:
const ShadowData* next() const { return m_next; }
void setNext(ShadowData* shadow) { m_next = shadow; }
+ void adjustRectForShadow(IntRect&, int additionalOutlineSize = 0) const;
+ void adjustRectForShadow(FloatRect&, int additionalOutlineSize = 0) const;
+
private:
int m_x;
int m_y;