| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // True if this layer container renderers that paint. | 131 // True if this layer container renderers that paint. |
| 132 bool hasNonEmptyChildRenderers() const; | 132 bool hasNonEmptyChildRenderers() const; |
| 133 | 133 |
| 134 // Gets the nearest enclosing positioned ancestor layer (also includes | 134 // Gets the nearest enclosing positioned ancestor layer (also includes |
| 135 // the <html> layer and the root layer). | 135 // the <html> layer and the root layer). |
| 136 RenderLayer* enclosingPositionedAncestor() const; | 136 RenderLayer* enclosingPositionedAncestor() const; |
| 137 | 137 |
| 138 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons
t; | 138 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons
t; |
| 139 | 139 |
| 140 const RenderLayer* compositingContainer() const; | 140 const RenderLayer* compositingContainer() const; |
| 141 RenderLayer* enclosingFilterLayer(IncludeSelfOrNot = IncludeSelf) const; | |
| 142 bool hasAncestorWithFilterOutsets() const; | |
| 143 | 141 |
| 144 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint&) co
nst; | 142 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutPoint&) co
nst; |
| 145 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect&) con
st; | 143 void convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect&) con
st; |
| 146 | 144 |
| 147 // Pass offsetFromRoot if known. | 145 // Pass offsetFromRoot if known. |
| 148 bool intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& d
amageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot = 0)
const; | 146 bool intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& d
amageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot = 0)
const; |
| 149 | 147 |
| 150 // Bounding box relative to some ancestor layer. Pass offsetFromRoot if know
n. | 148 // Bounding box relative to some ancestor layer. Pass offsetFromRoot if know
n. |
| 151 LayoutRect physicalBoundingBox(const RenderLayer* ancestorLayer, const Layou
tPoint* offsetFromRoot = 0) const; | 149 LayoutRect physicalBoundingBox(const RenderLayer* ancestorLayer, const Layou
tPoint* offsetFromRoot = 0) const; |
| 152 LayoutRect physicalBoundingBoxIncludingReflectionAndStackingChildren(const R
enderLayer* ancestorLayer, const LayoutPoint& offsetFromRoot) const; | 150 LayoutRect physicalBoundingBoxIncludingReflectionAndStackingChildren(const R
enderLayer* ancestorLayer, const LayoutPoint& offsetFromRoot) const; |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 301 |
| 304 } // namespace blink | 302 } // namespace blink |
| 305 | 303 |
| 306 #ifndef NDEBUG | 304 #ifndef NDEBUG |
| 307 // Outside the WebCore namespace for ease of invocation from gdb. | 305 // Outside the WebCore namespace for ease of invocation from gdb. |
| 308 void showLayerTree(const blink::RenderLayer*); | 306 void showLayerTree(const blink::RenderLayer*); |
| 309 void showLayerTree(const blink::RenderObject*); | 307 void showLayerTree(const blink::RenderObject*); |
| 310 #endif | 308 #endif |
| 311 | 309 |
| 312 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 310 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |