Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1427)

Unified Diff: Source/core/rendering/RenderView.h

Issue 99663004: Avoid layout/full-repaint on view height change if possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: We have Document::hasViewportUnits() now Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderView.h
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h
index b2e8d30f1e1dbac342dc4c5284c28f981846a734..6de6e94d9c1517c3568a27d8216015bf7343ec21 100644
--- a/Source/core/rendering/RenderView.h
+++ b/Source/core/rendering/RenderView.h
@@ -206,6 +206,8 @@ public:
double layoutViewportWidth() const;
double layoutViewportHeight() const;
+ void viewResized();
+
private:
virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = 0) const OVERRIDE;
virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE;
@@ -272,6 +274,8 @@ private:
bool shouldUsePrintingLayout() const;
+ bool needsLayoutOnLogicalHeightChange() const;
+
FrameView* m_frameView;
RenderObject* m_selectionStart;

Powered by Google App Engine
This is Rietveld 408576698