summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderLayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderLayer.h')
-rw-r--r--WebCore/rendering/RenderLayer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderLayer.h b/WebCore/rendering/RenderLayer.h
index 6b60fe1..be3ddc6 100644
--- a/WebCore/rendering/RenderLayer.h
+++ b/WebCore/rendering/RenderLayer.h
@@ -79,6 +79,9 @@ public:
: m_overflowClipRect(r)
, m_fixedClipRect(r)
, m_posClipRect(r)
+#if ENABLE(ANDROID_OVERFLOW_SCROLL)
+ , m_hitTestClip(r)
+#endif
, m_refCnt(0)
, m_fixed(false)
{
@@ -88,6 +91,9 @@ public:
: m_overflowClipRect(other.overflowClipRect())
, m_fixedClipRect(other.fixedClipRect())
, m_posClipRect(other.posClipRect())
+#if ENABLE(ANDROID_OVERFLOW_SCROLL)
+ , m_hitTestClip(other.hitTestClip())
+#endif
, m_refCnt(0)
, m_fixed(other.fixed())
{
@@ -98,6 +104,9 @@ public:
m_overflowClipRect = r;
m_fixedClipRect = r;
m_posClipRect = r;
+#if ENABLE(ANDROID_OVERFLOW_SCROLL)
+ m_hitTestClip = r;
+#endif
m_fixed = false;
}
@@ -109,6 +118,10 @@ public:
const IntRect& posClipRect() const { return m_posClipRect; }
void setPosClipRect(const IntRect& r) { m_posClipRect = r; }
+#if ENABLE(ANDROID_OVERFLOW_SCROLL)
+ const IntRect& hitTestClip() const { return m_hitTestClip; }
+ void setHitTestClip(const IntRect& r) { m_hitTestClip = r; }
+#endif
bool fixed() const { return m_fixed; }
void setFixed(bool fixed) { m_fixed = fixed; }
@@ -149,6 +162,9 @@ private:
IntRect m_overflowClipRect;
IntRect m_fixedClipRect;
IntRect m_posClipRect;
+#if ENABLE(ANDROID_OVERFLOW_SCROLL)
+ IntRect m_hitTestClip;
+#endif
unsigned m_refCnt : 31;
bool m_fixed : 1;
};