OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 void pushLayoutState(LayoutState&); | 163 void pushLayoutState(LayoutState&); |
164 void popLayoutState(); | 164 void popLayoutState(); |
165 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE
FINAL; | 165 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE
FINAL; |
166 | 166 |
167 private: | 167 private: |
168 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool*
wasFixed = 0, const PaintInvalidationState* = 0) const OVERRIDE; | 168 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool*
wasFixed = 0, const PaintInvalidationState* = 0) const OVERRIDE; |
169 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 169 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
170 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; | 170 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; |
171 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 171 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
172 | 172 |
173 | |
174 bool shouldInvalidatePaint(const LayoutRect&) const; | 173 bool shouldInvalidatePaint(const LayoutRect&) const; |
175 | 174 |
176 bool rootFillsViewportBackground(RenderBox* rootBox) const; | |
177 | |
178 void layoutContent(); | 175 void layoutContent(); |
179 #if ENABLE(ASSERT) | 176 #if ENABLE(ASSERT) |
180 void checkLayoutState(); | 177 void checkLayoutState(); |
181 #endif | 178 #endif |
182 | 179 |
183 friend class ForceHorriblySlowRectMapping; | 180 friend class ForceHorriblySlowRectMapping; |
184 | 181 |
185 bool shouldUsePrintingLayout() const; | 182 bool shouldUsePrintingLayout() const; |
186 | 183 |
187 RenderObject* backgroundRenderer() const; | 184 RenderObject* backgroundRenderer() const; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 228 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
232 } | 229 } |
233 private: | 230 private: |
234 const PaintInvalidationState* m_paintInvalidationState; | 231 const PaintInvalidationState* m_paintInvalidationState; |
235 bool m_didDisable; | 232 bool m_didDisable; |
236 }; | 233 }; |
237 | 234 |
238 } // namespace blink | 235 } // namespace blink |
239 | 236 |
240 #endif // RenderView_h | 237 #endif // RenderView_h |
OLD | NEW |