| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay
erPositionsFlags); | 165 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay
erPositionsFlags); |
| 166 void updateLayerPositionsAfterOverflowScroll(); | 166 void updateLayerPositionsAfterOverflowScroll(); |
| 167 void updateLayerPositionsAfterDocumentScroll(); | 167 void updateLayerPositionsAfterDocumentScroll(); |
| 168 | 168 |
| 169 // FIXME: Should updateLayerPositions be private? | 169 // FIXME: Should updateLayerPositions be private? |
| 170 void updateLayerPositionRecursive(RenderGeometryMap*, const RenderLayerModel
Object* paintInvalidationContainer, UpdateLayerPositionsFlags = CheckForRepaint)
; | 170 void updateLayerPositionRecursive(RenderGeometryMap*, const RenderLayerModel
Object* paintInvalidationContainer, UpdateLayerPositionsFlags = CheckForRepaint)
; |
| 171 | 171 |
| 172 bool isPaginated() const { return m_isPaginated; } | 172 bool isPaginated() const { return m_isPaginated; } |
| 173 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination
Layer; } | 173 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination
Layer; } |
| 174 | 174 |
| 175 void updateTransform(); | 175 void updateTransformationMatrix(); |
| 176 RenderLayer* renderingContextRoot(); | 176 RenderLayer* renderingContextRoot(); |
| 177 | 177 |
| 178 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow
Position; } | 178 const LayoutSize& offsetForInFlowPosition() const { return m_offsetForInFlow
Position; } |
| 179 | 179 |
| 180 void addBlockSelectionGapsBounds(const LayoutRect&); | 180 void addBlockSelectionGapsBounds(const LayoutRect&); |
| 181 void clearBlockSelectionGapsBounds(); | 181 void clearBlockSelectionGapsBounds(); |
| 182 void repaintBlockSelectionGaps(); | 182 void repaintBlockSelectionGaps(); |
| 183 bool hasBlockSelectionGapBounds() const; | 183 bool hasBlockSelectionGapBounds() const; |
| 184 | 184 |
| 185 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } | 185 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 void updateReflectionInfo(const RenderStyle*); | 587 void updateReflectionInfo(const RenderStyle*); |
| 588 | 588 |
| 589 // FIXME: We could lazily allocate our ScrollableArea based on style propert
ies ('overflow', ...) | 589 // FIXME: We could lazily allocate our ScrollableArea based on style propert
ies ('overflow', ...) |
| 590 // but for now, we are always allocating it for RenderBox as it's safer. | 590 // but for now, we are always allocating it for RenderBox as it's safer. |
| 591 bool requiresScrollableArea() const { return renderBox(); } | 591 bool requiresScrollableArea() const { return renderBox(); } |
| 592 void updateScrollableArea(); | 592 void updateScrollableArea(); |
| 593 | 593 |
| 594 void dirtyAncestorChainVisibleDescendantStatus(); | 594 void dirtyAncestorChainVisibleDescendantStatus(); |
| 595 void setAncestorChainHasVisibleDescendant(); | 595 void setAncestorChainHasVisibleDescendant(); |
| 596 | 596 |
| 597 void updateTransform(const RenderStyle* oldStyle, RenderStyle* newStyle); |
| 598 |
| 597 void dirty3DTransformedDescendantStatus(); | 599 void dirty3DTransformedDescendantStatus(); |
| 598 // Both updates the status, and returns true if descendants of this have 3d. | 600 // Both updates the status, and returns true if descendants of this have 3d. |
| 599 bool update3DTransformedDescendantStatus(); | 601 bool update3DTransformedDescendantStatus(); |
| 600 | 602 |
| 601 void updateOrRemoveFilterClients(); | 603 void updateOrRemoveFilterClients(); |
| 602 | 604 |
| 603 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa
intDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); | 605 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa
intDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); |
| 604 | 606 |
| 605 void updatePagination(); | 607 void updatePagination(); |
| 606 | 608 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 | 725 |
| 724 } // namespace WebCore | 726 } // namespace WebCore |
| 725 | 727 |
| 726 #ifndef NDEBUG | 728 #ifndef NDEBUG |
| 727 // Outside the WebCore namespace for ease of invocation from gdb. | 729 // Outside the WebCore namespace for ease of invocation from gdb. |
| 728 void showLayerTree(const WebCore::RenderLayer*); | 730 void showLayerTree(const WebCore::RenderLayer*); |
| 729 void showLayerTree(const WebCore::RenderObject*); | 731 void showLayerTree(const WebCore::RenderObject*); |
| 730 #endif | 732 #endif |
| 731 | 733 |
| 732 #endif // RenderLayer_h | 734 #endif // RenderLayer_h |
| OLD | NEW |