Index: Source/core/rendering/RenderView.h |
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
index 348568d58938962ba287d08afce4adfeb97ec336..92a5d531081c0049be1328d8191c1606523eef7b 100644 |
--- a/Source/core/rendering/RenderView.h |
+++ b/Source/core/rendering/RenderView.h |
@@ -35,6 +35,12 @@ class FlowThreadController; |
class RenderLayerCompositor; |
class RenderQuote; |
+struct OutlineRectInfo { |
+ LayoutRect oldOutlineRect; |
+ LayoutRect newOutlineRect; |
+}; |
+typedef HashMap<RenderObject*, OwnPtr<OutlineRectInfo> > OutlineRects; |
+ |
// The root of the render tree, corresponding to the CSS initial containing block. |
// It's dimensions match that of the logical viewport (which may be different from |
// the visible viewport in fixed-layout mode), and it is always at position (0,0) |
@@ -199,6 +205,8 @@ public: |
void disableLayoutState() { m_layoutStateDisableCount++; } |
void enableLayoutState() { ASSERT(m_layoutStateDisableCount > 0); m_layoutStateDisableCount--; } |
+ OutlineRects& outlineRects() { return m_outlineRects; } |
+ |
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; |
@@ -260,6 +268,8 @@ private: |
RenderQuote* m_renderQuoteHead; |
unsigned m_renderCounterCount; |
+ |
+ OutlineRects m_outlineRects; |
}; |
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |