| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 LayoutRect rect() const { return LayoutRect(location(), size()); } | 114 LayoutRect rect() const { return LayoutRect(location(), size()); } |
| 115 | 115 |
| 116 bool isRootLayer() const { return m_isRootLayer; } | 116 bool isRootLayer() const { return m_isRootLayer; } |
| 117 | 117 |
| 118 void updateLayerPositionsAfterLayout(); | 118 void updateLayerPositionsAfterLayout(); |
| 119 | 119 |
| 120 void updateTransformationMatrix(); | 120 void updateTransformationMatrix(); |
| 121 RenderLayer* renderingContextRoot(); | 121 RenderLayer* renderingContextRoot(); |
| 122 | 122 |
| 123 // Our current relative position offset. | |
| 124 const LayoutSize offsetForInFlowPosition() const; | |
| 125 | |
| 126 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } | 123 RenderLayerStackingNode* stackingNode() { return m_stackingNode.get(); } |
| 127 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode.
get(); } | 124 const RenderLayerStackingNode* stackingNode() const { return m_stackingNode.
get(); } |
| 128 | 125 |
| 129 bool hasBoxDecorationsOrBackground() const; | 126 bool hasBoxDecorationsOrBackground() const; |
| 130 bool hasVisibleBoxDecorations() const; | 127 bool hasVisibleBoxDecorations() const; |
| 131 // Returns true if this layer has visible content (ignoring any child layers
). | 128 // Returns true if this layer has visible content (ignoring any child layers
). |
| 132 bool isVisuallyNonEmpty() const; | 129 bool isVisuallyNonEmpty() const; |
| 133 // True if this layer container renderers that paint. | 130 // True if this layer container renderers that paint. |
| 134 bool hasNonEmptyChildRenderers() const; | 131 bool hasNonEmptyChildRenderers() const; |
| 135 | 132 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 | 328 |
| 332 } // namespace blink | 329 } // namespace blink |
| 333 | 330 |
| 334 #ifndef NDEBUG | 331 #ifndef NDEBUG |
| 335 // Outside the WebCore namespace for ease of invocation from gdb. | 332 // Outside the WebCore namespace for ease of invocation from gdb. |
| 336 void showLayerTree(const blink::RenderLayer*); | 333 void showLayerTree(const blink::RenderLayer*); |
| 337 void showLayerTree(const blink::RenderObject*); | 334 void showLayerTree(const blink::RenderObject*); |
| 338 #endif | 335 #endif |
| 339 | 336 |
| 340 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 337 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |