| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 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 virtual LayoutRect visualOverflowRect() const override; |
| 177 |
| 176 private: | 178 private: |
| 177 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = 0, const PaintInvalidationState* = 0) const override; | 179 virtual void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidati
onContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wa
sFixed = 0, const PaintInvalidationState* = 0) const override; |
| 178 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const override; | 180 virtual const LayoutObject* pushMappingToContainer(const LayoutBoxModelObjec
t* ancestorToStopAt, LayoutGeometryMap&) const override; |
| 179 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst override; | 181 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst override; |
| 180 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; | 182 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const override; |
| 181 | 183 |
| 182 void layoutContent(); | 184 void layoutContent(); |
| 183 #if ENABLE(ASSERT) | 185 #if ENABLE(ASSERT) |
| 184 void checkLayoutState(); | 186 void checkLayoutState(); |
| 185 #endif | 187 #endif |
| 186 | 188 |
| 187 friend class ForceHorriblySlowRectMapping; | 189 friend class ForceHorriblySlowRectMapping; |
| 188 | 190 |
| 189 bool shouldUsePrintingLayout() const; | 191 bool shouldUsePrintingLayout() const; |
| 190 | 192 |
| 191 LayoutObject* backgroundLayoutObject() const; | |
| 192 | |
| 193 int viewLogicalWidthForBoxSizing() const; | 193 int viewLogicalWidthForBoxSizing() const; |
| 194 int viewLogicalHeightForBoxSizing() const; | 194 int viewLogicalHeightForBoxSizing() const; |
| 195 | 195 |
| 196 FrameView* m_frameView; | 196 FrameView* m_frameView; |
| 197 | 197 |
| 198 LayoutObject* m_selectionStart; | 198 LayoutObject* m_selectionStart; |
| 199 LayoutObject* m_selectionEnd; | 199 LayoutObject* m_selectionEnd; |
| 200 | 200 |
| 201 int m_selectionStartPos; | 201 int m_selectionStartPos; |
| 202 int m_selectionEndPos; | 202 int m_selectionEndPos; |
| (...skipping 36 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 |