| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState
()); return m_hasNonCompositedChild; } | 231 bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState
()); return m_hasNonCompositedChild; } |
| 232 | 232 |
| 233 bool usedTransparency() const { return m_usedTransparency; } | 233 bool usedTransparency() const { return m_usedTransparency; } |
| 234 | 234 |
| 235 // Gets the nearest enclosing positioned ancestor layer (also includes | 235 // Gets the nearest enclosing positioned ancestor layer (also includes |
| 236 // the <html> layer and the root layer). | 236 // the <html> layer and the root layer). |
| 237 RenderLayer* enclosingPositionedAncestor() const; | 237 RenderLayer* enclosingPositionedAncestor() const; |
| 238 | 238 |
| 239 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons
t; | 239 RenderLayer* enclosingOverflowClipLayer(IncludeSelfOrNot = IncludeSelf) cons
t; |
| 240 | 240 |
| 241 bool isRepaintContainer() const; |
| 241 // Enclosing compositing layer; if includeSelf is true, may return this. | 242 // Enclosing compositing layer; if includeSelf is true, may return this. |
| 242 RenderLayer* enclosingCompositingLayer(IncludeSelfOrNot = IncludeSelf) const
; | 243 RenderLayer* enclosingCompositingLayer(IncludeSelfOrNot = IncludeSelf) const
; |
| 243 RenderLayer* enclosingCompositingLayerForRepaint(IncludeSelfOrNot = IncludeS
elf) const; | 244 RenderLayer* enclosingCompositingLayerForRepaint(IncludeSelfOrNot = IncludeS
elf) const; |
| 244 // Ancestor compositing layer, excluding this. | 245 // Ancestor compositing layer, excluding this. |
| 245 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL
ayer(ExcludeSelf); } | 246 RenderLayer* ancestorCompositingLayer() const { return enclosingCompositingL
ayer(ExcludeSelf); } |
| 246 | 247 |
| 247 // Ancestor composited scrolling layer at or above our containing block. | 248 // Ancestor composited scrolling layer at or above our containing block. |
| 248 RenderLayer* ancestorCompositedScrollingLayer() const; | 249 RenderLayer* ancestorCompositedScrollingLayer() const; |
| 249 | 250 |
| 250 // Ancestor scrolling layer at or above our containing block. | 251 // Ancestor scrolling layer at or above our containing block. |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 | 758 |
| 758 } // namespace WebCore | 759 } // namespace WebCore |
| 759 | 760 |
| 760 #ifndef NDEBUG | 761 #ifndef NDEBUG |
| 761 // Outside the WebCore namespace for ease of invocation from gdb. | 762 // Outside the WebCore namespace for ease of invocation from gdb. |
| 762 void showLayerTree(const WebCore::RenderLayer*); | 763 void showLayerTree(const WebCore::RenderLayer*); |
| 763 void showLayerTree(const WebCore::RenderObject*); | 764 void showLayerTree(const WebCore::RenderObject*); |
| 764 #endif | 765 #endif |
| 765 | 766 |
| 766 #endif // RenderLayer_h | 767 #endif // RenderLayer_h |
| OLD | NEW |