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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 // True if this layer container layoutObjects that paint. | 190 // True if this layer container layoutObjects that paint. |
191 bool hasNonEmptyChildLayoutObjects() const; | 191 bool hasNonEmptyChildLayoutObjects() const; |
192 | 192 |
193 // Will ensure that hasNonCompositiedChild are up to date. | 193 // Will ensure that hasNonCompositiedChild are up to date. |
194 void updateScrollingStateAfterCompositingChange(); | 194 void updateScrollingStateAfterCompositingChange(); |
195 bool hasVisibleNonLayerContent() const { return m_hasVisibleNonLayerContent; } | 195 bool hasVisibleNonLayerContent() const { return m_hasVisibleNonLayerContent; } |
196 bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState ()); return m_hasNonCompositedChild; } | 196 bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState ()); return m_hasNonCompositedChild; } |
197 | 197 |
198 // Gets the nearest enclosing positioned ancestor layer (also includes | 198 // Gets the nearest enclosing positioned ancestor layer (also includes |
199 // the <html> layer and the root layer). | 199 // the <html> layer and the root layer). |
200 DeprecatedPaintLayer* enclosingPositionedAncestor() const; | 200 DeprecatedPaintLayer* enclosingPositionedAncestor(const DeprecatedPaintLayer * ancestor = nullptr, bool* skippedAncestor = nullptr) const; |
chrishtr
2015/06/25 17:32:58
Please explain the extra parameters' purpose and u
mstensho (USE GERRIT)
2015/06/25 18:04:13
Done.
| |
201 | 201 |
202 bool isPaintInvalidationContainer() const; | 202 bool isPaintInvalidationContainer() const; |
203 | 203 |
204 // Do *not* call this method unless you know what you are dooing. You probab ly want to call enclosingCompositingLayerForPaintInvalidation() instead. | 204 // Do *not* call this method unless you know what you are dooing. You probab ly want to call enclosingCompositingLayerForPaintInvalidation() instead. |
205 // If includeSelf is true, may return this. | 205 // If includeSelf is true, may return this. |
206 DeprecatedPaintLayer* enclosingLayerWithCompositedDeprecatedPaintLayerMappin g(IncludeSelfOrNot) const; | 206 DeprecatedPaintLayer* enclosingLayerWithCompositedDeprecatedPaintLayerMappin g(IncludeSelfOrNot) const; |
207 | 207 |
208 // Returns the enclosing layer root into which this layer paints, inclusive of this one. Note that the enclosing layer may or may not have its own | 208 // Returns the enclosing layer root into which this layer paints, inclusive of this one. Note that the enclosing layer may or may not have its own |
209 // GraphicsLayer backing, but is nevertheless the root for a call to the Lay er::paint*() methods. | 209 // GraphicsLayer backing, but is nevertheless the root for a call to the Lay er::paint*() methods. |
210 DeprecatedPaintLayer* enclosingLayerForPaintInvalidation() const; | 210 DeprecatedPaintLayer* enclosingLayerForPaintInvalidation() const; |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
710 | 710 |
711 } // namespace blink | 711 } // namespace blink |
712 | 712 |
713 #ifndef NDEBUG | 713 #ifndef NDEBUG |
714 // Outside the WebCore namespace for ease of invocation from gdb. | 714 // Outside the WebCore namespace for ease of invocation from gdb. |
715 void showLayerTree(const blink::DeprecatedPaintLayer*); | 715 void showLayerTree(const blink::DeprecatedPaintLayer*); |
716 void showLayerTree(const blink::LayoutObject*); | 716 void showLayerTree(const blink::LayoutObject*); |
717 #endif | 717 #endif |
718 | 718 |
719 #endif // Layer_h | 719 #endif // Layer_h |
OLD | NEW |