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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const override; | 167 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const override; |
168 | 168 |
169 double layoutViewportWidth() const; | 169 double layoutViewportWidth() const; |
170 double layoutViewportHeight() const; | 170 double layoutViewportHeight() const; |
171 | 171 |
172 void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutStat
e; } | 172 void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutStat
e; } |
173 void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState
->next(); } | 173 void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState
->next(); } |
174 virtual void invalidateTreeIfNeeded(PaintInvalidationState&) override final; | 174 virtual void invalidateTreeIfNeeded(PaintInvalidationState&) override final; |
175 | 175 |
176 private: | 176 private: |
177 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = 0, const PaintInvalidationState* = 0) const override; | 177 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = nullptr, const PaintInvalidationState* = nullptr) const override; |
178 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const override; | 178 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const override; |
179 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst override; | 179 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst override; |
180 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; | 180 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; |
181 | 181 |
182 void layoutContent(); | 182 void layoutContent(); |
183 #if ENABLE(ASSERT) | 183 #if ENABLE(ASSERT) |
184 void checkLayoutState(); | 184 void checkLayoutState(); |
185 #endif | 185 #endif |
186 | 186 |
187 friend class ForceHorriblySlowRectMapping; | 187 friend class ForceHorriblySlowRectMapping; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 239 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
240 } | 240 } |
241 private: | 241 private: |
242 const PaintInvalidationState* m_paintInvalidationState; | 242 const PaintInvalidationState* m_paintInvalidationState; |
243 bool m_didDisable; | 243 bool m_didDisable; |
244 }; | 244 }; |
245 | 245 |
246 } // namespace blink | 246 } // namespace blink |
247 | 247 |
248 #endif // LayoutView_h | 248 #endif // LayoutView_h |
OLD | NEW |