| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 double layoutViewportHeight() const; | 178 double layoutViewportHeight() const; |
| 179 | 179 |
| 180 void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutStat
e; } | 180 void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutStat
e; } |
| 181 void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState
->next(); } | 181 void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState
->next(); } |
| 182 virtual void invalidateTreeIfNeeded(PaintInvalidationState&) override final; | 182 virtual void invalidateTreeIfNeeded(PaintInvalidationState&) override final; |
| 183 | 183 |
| 184 virtual LayoutRect visualOverflowRect() const override; | 184 virtual LayoutRect visualOverflowRect() const override; |
| 185 | 185 |
| 186 private: | 186 private: |
| 187 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = nullptr, const PaintInvalidationState* = nullptr) const override; | 187 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = nullptr, const PaintInvalidationState* = nullptr) const override; |
| 188 |
| 189 template <typename Strategy> |
| 190 void commitPendingSelectionAlgorithm(); |
| 191 |
| 188 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const override; | 192 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const override; |
| 189 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst override; | 193 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst override; |
| 190 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; | 194 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; |
| 191 | 195 |
| 192 void layoutContent(); | 196 void layoutContent(); |
| 193 #if ENABLE(ASSERT) | 197 #if ENABLE(ASSERT) |
| 194 void checkLayoutState(); | 198 void checkLayoutState(); |
| 195 #endif | 199 #endif |
| 196 | 200 |
| 197 friend class ForceHorriblySlowRectMapping; | 201 friend class ForceHorriblySlowRectMapping; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 m_paintInvalidationState->m_cachedOffsetsEnabled = true; | 253 m_paintInvalidationState->m_cachedOffsetsEnabled = true; |
| 250 } | 254 } |
| 251 private: | 255 private: |
| 252 const PaintInvalidationState* m_paintInvalidationState; | 256 const PaintInvalidationState* m_paintInvalidationState; |
| 253 bool m_didDisable; | 257 bool m_didDisable; |
| 254 }; | 258 }; |
| 255 | 259 |
| 256 } // namespace blink | 260 } // namespace blink |
| 257 | 261 |
| 258 #endif // LayoutView_h | 262 #endif // LayoutView_h |
| OLD | NEW |