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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/rendering/RenderView.h b/WebCore/rendering/RenderView.h
index 55aa3b4..b03312f 100644
--- a/WebCore/rendering/RenderView.h
+++ b/WebCore/rendering/RenderView.h
@@ -47,13 +47,15 @@ public:
virtual bool requiresLayer() const { return true; }
virtual void layout();
- virtual void calcWidth();
- virtual void calcHeight();
- virtual void calcPrefWidths();
+ virtual void computeLogicalWidth();
+ virtual void computeLogicalHeight();
+ virtual void computePreferredLogicalWidths();
// The same as the FrameView's layoutHeight/layoutWidth but with null check guards.
int viewHeight() const;
int viewWidth() const;
+ int viewLogicalWidth() const { return style()->isVerticalBlockFlow() ? viewWidth() : viewHeight(); }
+ int viewLogicalHeight() const { return style()->isVerticalBlockFlow() ? viewHeight() : viewWidth(); }
float zoomFactor() const;