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