diff options
Diffstat (limited to 'Source/WebCore/rendering/RenderTextLineBoxes.h')
-rw-r--r-- | Source/WebCore/rendering/RenderTextLineBoxes.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/WebCore/rendering/RenderTextLineBoxes.h b/Source/WebCore/rendering/RenderTextLineBoxes.h index d0b570ffd..2e5ae5a73 100644 --- a/Source/WebCore/rendering/RenderTextLineBoxes.h +++ b/Source/WebCore/rendering/RenderTextLineBoxes.h @@ -23,8 +23,7 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef RenderTextLineBoxes_h -#define RenderTextLineBoxes_h +#pragma once #include "LayoutRect.h" #include "RenderObject.h" @@ -68,8 +67,10 @@ public: void setSelectionState(RenderText&, RenderObject::SelectionState); LayoutRect selectionRectForRange(unsigned start, unsigned end); + void collectSelectionRectsForRange(unsigned start, unsigned end, Vector<LayoutRect>& rects); IntRect boundingBox(const RenderText&) const; + IntPoint firstRunLocation() const; LayoutRect visualOverflowBoundingBox(const RenderText&) const; Vector<IntRect> absoluteRects(const LayoutPoint& accumulatedOffset) const; @@ -93,6 +94,4 @@ private: InlineTextBox* m_last; }; -} - -#endif +} // namespace WebCore |