summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderView.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderView.h')
-rw-r--r--WebCore/rendering/RenderView.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/WebCore/rendering/RenderView.h b/WebCore/rendering/RenderView.h
index 799b206..8145cac 100644
--- a/WebCore/rendering/RenderView.h
+++ b/WebCore/rendering/RenderView.h
@@ -71,12 +71,18 @@ public:
enum SelectionRepaintMode { RepaintNewXOROld, RepaintNewMinusOld };
void setSelection(RenderObject* start, int startPos, RenderObject* end, int endPos, SelectionRepaintMode = RepaintNewXOROld);
void clearSelection();
- virtual RenderObject* selectionStart() const { return m_selectionStart; }
- virtual RenderObject* selectionEnd() const { return m_selectionEnd; }
+ RenderObject* selectionStart() const { return m_selectionStart; }
+ RenderObject* selectionEnd() const { return m_selectionEnd; }
+ IntRect selectionBounds(bool clipToVisibleContent = true) const;
+ void selectionStartEnd(int& startPos, int& endPos) const;
bool printing() const;
void setPrintImages(bool enable) { m_printImages = enable; }
bool printImages() const { return m_printImages; }
+
+ IntRect printRect() const { return m_printRect; }
+ void setPrintRect(const IntRect& r) { m_printRect = r; }
+
void setTruncatedAt(int y) { m_truncatedAt = y; m_bestTruncatedAt = m_truncatorWidth = 0; m_minimumColumnHeight = 0; m_forcedPageBreak = false; }
void setBestTruncatedAt(int y, RenderBoxModelObject* forRenderer, bool forcedBreak = false);
void setMinimumColumnHeight(int height) { m_minimumColumnHeight = height; }
@@ -88,8 +94,6 @@ public:
virtual void absoluteRects(Vector<IntRect>&, int tx, int ty);
virtual void absoluteQuads(Vector<FloatQuad>&);
- IntRect selectionBounds(bool clipToVisibleContent = true) const;
-
#if USE(ACCELERATED_COMPOSITING)
void setMaximalOutlineSize(int o);
#else
@@ -99,11 +103,6 @@ public:
virtual IntRect viewRect() const;
- void selectionStartEnd(int& startPos, int& endPos) const;
-
- IntRect printRect() const { return m_printRect; }
- void setPrintRect(const IntRect& r) { m_printRect = r; }
-
void updateWidgetPositions();
void addWidget(RenderWidget*);
void removeWidget(RenderWidget*);