diff options
| author | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-22 15:40:17 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-22 15:40:17 +0200 |
| commit | 43a42f108af6bcbd91f2672731c3047c26213af1 (patch) | |
| tree | 7fa092e5f5d873c72f2486a70e26be26f7a38bec /Source/WebCore/rendering/ExclusionShape.h | |
| parent | d9cf437c840c6eb7417bdd97e6c40979255d3158 (diff) | |
| download | qtwebkit-43a42f108af6bcbd91f2672731c3047c26213af1.tar.gz | |
Imported WebKit commit 302e7806bff028bd1167a1ec7c86a1ee00ecfb49 (http://svn.webkit.org/repository/webkit/trunk@132067)
New snapshot that fixes build without QtWidgets
Diffstat (limited to 'Source/WebCore/rendering/ExclusionShape.h')
| -rw-r--r-- | Source/WebCore/rendering/ExclusionShape.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/ExclusionShape.h b/Source/WebCore/rendering/ExclusionShape.h index bb1edc6d1..a75ab70e8 100644 --- a/Source/WebCore/rendering/ExclusionShape.h +++ b/Source/WebCore/rendering/ExclusionShape.h @@ -64,8 +64,10 @@ public: virtual ~ExclusionShape() { } virtual FloatRect shapeLogicalBoundingBox() const = 0; + virtual FloatRect shapeBoundingBox() const { return m_boundingBox; } virtual void getIncludedIntervals(float logicalTop, float logicalBottom, SegmentList&) const = 0; virtual void getExcludedIntervals(float logicalTop, float logicalBottom, SegmentList&) const = 0; + virtual bool isEmpty() const = 0; protected: float minYForLogicalLine(float logicalTop, float logicalBottom) const { return (m_writingMode == RightToLeftWritingMode) ? m_logicalBoxHeight - logicalBottom : logicalTop; } @@ -76,6 +78,7 @@ private: WritingMode m_writingMode; float m_logicalBoxWidth; float m_logicalBoxHeight; + FloatRect m_boundingBox; }; } // namespace WebCore |
