diff options
Diffstat (limited to 'WebCore/rendering/InlineTextBox.h')
-rw-r--r-- | WebCore/rendering/InlineTextBox.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/rendering/InlineTextBox.h b/WebCore/rendering/InlineTextBox.h index 9c4c72f..e72d625 100644 --- a/WebCore/rendering/InlineTextBox.h +++ b/WebCore/rendering/InlineTextBox.h @@ -74,8 +74,9 @@ public: virtual int lineHeight() const; private: - virtual int selectionTop(); - virtual int selectionHeight(); + int selectionTop(); + int selectionBottom(); + int selectionHeight(); public: virtual IntRect calculateBoundaries() const { return IntRect(x(), y(), logicalWidth(), logicalHeight()); } @@ -127,7 +128,7 @@ public: bool containsCaretOffset(int offset) const; // false for offset after line break // Needs to be public, so the static paintTextWithShadows() function can use it. - static FloatSize applyShadowToGraphicsContext(GraphicsContext*, const ShadowData*, const FloatRect& textRect, bool stroked, bool opaque, bool vertical); + static FloatSize applyShadowToGraphicsContext(GraphicsContext*, const ShadowData*, const FloatRect& textRect, bool stroked, bool opaque, bool horizontal); private: InlineTextBox* m_prevTextBox; // The previous box that also uses our RenderObject |