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 138 matching lines...) Loading... |
149 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } | 149 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } |
150 bool hasRenderCounters() { return m_renderCounterCount; } | 150 bool hasRenderCounters() { return m_renderCounterCount; } |
151 | 151 |
152 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const OVERRIDE; | 152 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const OVERRIDE; |
153 | 153 |
154 double layoutViewportWidth() const; | 154 double layoutViewportWidth() const; |
155 double layoutViewportHeight() const; | 155 double layoutViewportHeight() const; |
156 | 156 |
157 void pushLayoutState(LayoutState&); | 157 void pushLayoutState(LayoutState&); |
158 void popLayoutState(); | 158 void popLayoutState(); |
| 159 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE
FINAL; |
159 | 160 |
160 private: | 161 private: |
161 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool*
wasFixed = 0, const PaintInvalidationState* = 0) const OVERRIDE; | 162 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool*
wasFixed = 0, const PaintInvalidationState* = 0) const OVERRIDE; |
162 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 163 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
163 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; | 164 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; |
164 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 165 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
165 | 166 |
166 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE
FINAL; | |
167 | 167 |
168 bool shouldInvalidatePaint(const LayoutRect&) const; | 168 bool shouldInvalidatePaint(const LayoutRect&) const; |
169 | 169 |
170 bool rootFillsViewportBackground(RenderBox* rootBox) const; | 170 bool rootFillsViewportBackground(RenderBox* rootBox) const; |
171 | 171 |
172 void layoutContent(); | 172 void layoutContent(); |
173 #if ENABLE(ASSERT) | 173 #if ENABLE(ASSERT) |
174 void checkLayoutState(); | 174 void checkLayoutState(); |
175 #endif | 175 #endif |
176 | 176 |
(...skipping 51 matching lines...) Loading... |
228 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 228 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
229 } | 229 } |
230 private: | 230 private: |
231 const PaintInvalidationState* m_paintInvalidationState; | 231 const PaintInvalidationState* m_paintInvalidationState; |
232 bool m_didDisable; | 232 bool m_didDisable; |
233 }; | 233 }; |
234 | 234 |
235 } // namespace blink | 235 } // namespace blink |
236 | 236 |
237 #endif // RenderView_h | 237 #endif // RenderView_h |
OLD | NEW |