| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // rewrite the counter and quotes code. | 153 // rewrite the counter and quotes code. |
| 154 void addRenderCounter() { m_renderCounterCount++; } | 154 void addRenderCounter() { m_renderCounterCount++; } |
| 155 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } | 155 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } |
| 156 bool hasRenderCounters() { return m_renderCounterCount; } | 156 bool hasRenderCounters() { return m_renderCounterCount; } |
| 157 | 157 |
| 158 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const override; | 158 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const override; |
| 159 | 159 |
| 160 double layoutViewportWidth() const; | 160 double layoutViewportWidth() const; |
| 161 double layoutViewportHeight() const; | 161 double layoutViewportHeight() const; |
| 162 | 162 |
| 163 void pushLayoutState(LayoutState&); | 163 void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutStat
e; } |
| 164 void popLayoutState(); | 164 void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState
->next(); } |
| 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 void layoutContent(); | 173 void layoutContent(); |
| 174 #if ENABLE(ASSERT) | 174 #if ENABLE(ASSERT) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 225 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
| 226 } | 226 } |
| 227 private: | 227 private: |
| 228 const PaintInvalidationState* m_paintInvalidationState; | 228 const PaintInvalidationState* m_paintInvalidationState; |
| 229 bool m_didDisable; | 229 bool m_didDisable; |
| 230 }; | 230 }; |
| 231 | 231 |
| 232 } // namespace blink | 232 } // namespace blink |
| 233 | 233 |
| 234 #endif // RenderView_h | 234 #endif // RenderView_h |
| OLD | NEW |