| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 void insertOnlyThisLayer(); | 91 void insertOnlyThisLayer(); |
| 92 | 92 |
| 93 void styleChanged(StyleDifference, const RenderStyle* oldStyle); | 93 void styleChanged(StyleDifference, const RenderStyle* oldStyle); |
| 94 | 94 |
| 95 // FIXME: Many people call this function while it has out-of-date informatio
n. | 95 // FIXME: Many people call this function while it has out-of-date informatio
n. |
| 96 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } | 96 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } |
| 97 | 97 |
| 98 void setLayerType(LayerType layerType) { m_layerType = layerType; } | 98 void setLayerType(LayerType layerType) { m_layerType = layerType; } |
| 99 | 99 |
| 100 bool isTransparent() const { return renderer()->isTransparent(); } | 100 bool isTransparent() const { return renderer()->isTransparent(); } |
| 101 RenderLayer* transparentPaintingAncestor(); | |
| 102 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer,
const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation); | |
| 103 | 101 |
| 104 const RenderLayer* root() const | 102 const RenderLayer* root() const |
| 105 { | 103 { |
| 106 const RenderLayer* curr = this; | 104 const RenderLayer* curr = this; |
| 107 while (curr->parent()) | 105 while (curr->parent()) |
| 108 curr = curr->parent(); | 106 curr = curr->parent(); |
| 109 return curr; | 107 return curr; |
| 110 } | 108 } |
| 111 | 109 |
| 112 LayoutPoint location() const; | 110 LayoutPoint location() const; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 | 299 |
| 302 } // namespace blink | 300 } // namespace blink |
| 303 | 301 |
| 304 #ifndef NDEBUG | 302 #ifndef NDEBUG |
| 305 // Outside the WebCore namespace for ease of invocation from gdb. | 303 // Outside the WebCore namespace for ease of invocation from gdb. |
| 306 void showLayerTree(const blink::RenderLayer*); | 304 void showLayerTree(const blink::RenderLayer*); |
| 307 void showLayerTree(const blink::RenderObject*); | 305 void showLayerTree(const blink::RenderObject*); |
| 308 #endif | 306 #endif |
| 309 | 307 |
| 310 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 308 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |