Chromium Code Reviews| Index: Source/core/page/FrameView.h |
| diff --git a/Source/core/page/FrameView.h b/Source/core/page/FrameView.h |
| index 8423c863c341abd24b72821c293d83e7179cc9a9..7d1b2c90b11ef6d7a3534cf2484df5f21537408e 100644 |
| --- a/Source/core/page/FrameView.h |
| +++ b/Source/core/page/FrameView.h |
| @@ -109,6 +109,10 @@ public: |
| void setNeedsLayout(); |
| void setViewportConstrainedObjectsNeedLayout(); |
| + // Methods for getting/setting the size Blink should use to layout the contents. |
| + IntSize layoutSize(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const; |
|
kenneth.r.christiansen
2013/09/05 08:03:07
Seems like the enum could be renamed now you also
bokan
2013/09/05 20:03:36
Done. Renamed to IncludeScrollbarsInRect
|
| + void setLayoutSize(const IntSize&); |
| + |
| bool needsFullRepaint() const { return m_doFullRepaint; } |
| void serviceScriptedAnimations(double monotonicAnimationStartTime); |
| @@ -347,6 +351,7 @@ private: |
| void reset(); |
| void init(); |
| + virtual void frameRectsChanged(); |
| virtual bool isFrameView() const OVERRIDE { return true; } |
| friend class RenderWidget; |
| @@ -370,6 +375,8 @@ private: |
| void scheduleOrPerformPostLayoutTasks(); |
| void performPostLayoutTasks(); |
| + bool isMainFrame() const; |
| + |
| virtual void repaintContentRectangle(const IntRect&); |
| virtual void contentsResized() OVERRIDE; |
| virtual void visibleContentsResized(); |
| @@ -531,6 +538,7 @@ private: |
| bool m_hasSoftwareFilters; |
| float m_visibleContentScaleFactor; |
| + IntSize m_layoutSize; |
| }; |
| inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) |