Chromium Code Reviews| Index: Source/core/rendering/RenderView.h |
| diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h |
| index 5b27fcc0feb3bf8790289c54e209d3d4ba2bfe36..2d353410f458e82caf14f39257b638eb605c70a3 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*, 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) |
| @@ -207,6 +213,8 @@ public: |
| void disableLayoutState() { m_layoutStateDisableCount++; } |
| void enableLayoutState() { ASSERT(m_layoutStateDisableCount > 0); m_layoutStateDisableCount--; } |
| + OutlineRects* outlineRects() { return &m_outlineRects; } |
|
Julien - ping for review
2014/03/04 18:22:10
It really seems like it should be a reference as t
dsinclair
2014/03/04 19:21:52
Changed the return to be a reference. I didn't cha
|
| + |
| 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; |
| @@ -271,6 +279,8 @@ private: |
| RenderQuote* m_renderQuoteHead; |
| unsigned m_renderCounterCount; |
| + |
| + OutlineRects m_outlineRects; |
| }; |
| DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView()); |