| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  188     bool hasBoxDecorationsOrBackground() const; |  188     bool hasBoxDecorationsOrBackground() const; | 
|  189     bool hasVisibleBoxDecorations() const; |  189     bool hasVisibleBoxDecorations() const; | 
|  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 ancestor layer that serves as the containing block of this layer
     . It is assumed | 
|  199     // the <html> layer and the root layer). |  199     // that this layer is established by an out-of-flow positioned layout object
      (i.e. either | 
|  200     DeprecatedPaintLayer* enclosingPositionedAncestor() const; |  200     // absolutely or fixed positioned). | 
 |  201     // If |ancestor| is specified, |*skippedAncestor| will be set to true if |an
     cestor| is found in | 
 |  202     // the ancestry chain between this layer and the containing block layer; if 
     not found, it will | 
 |  203     // be set to false. Either both |ancestor| and |skippedAncestor| should be n
     ullptr, or none of | 
 |  204     // them should. | 
 |  205     DeprecatedPaintLayer* enclosingPositionedAncestor(const DeprecatedPaintLayer
     * ancestor = nullptr, bool* skippedAncestor = nullptr) const; | 
|  201  |  206  | 
|  202     bool isPaintInvalidationContainer() const; |  207     bool isPaintInvalidationContainer() const; | 
|  203  |  208  | 
|  204     // Do *not* call this method unless you know what you are dooing. You probab
     ly want to call enclosingCompositingLayerForPaintInvalidation() instead. |  209     // 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. |  210     // If includeSelf is true, may return this. | 
|  206     DeprecatedPaintLayer* enclosingLayerWithCompositedDeprecatedPaintLayerMappin
     g(IncludeSelfOrNot) const; |  211     DeprecatedPaintLayer* enclosingLayerWithCompositedDeprecatedPaintLayerMappin
     g(IncludeSelfOrNot) const; | 
|  207  |  212  | 
|  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 |  213     // 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. |  214     // GraphicsLayer backing, but is nevertheless the root for a call to the Lay
     er::paint*() methods. | 
|  210     DeprecatedPaintLayer* enclosingLayerForPaintInvalidation() const; |  215     DeprecatedPaintLayer* enclosingLayerForPaintInvalidation() const; | 
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  710  |  715  | 
|  711 } // namespace blink |  716 } // namespace blink | 
|  712  |  717  | 
|  713 #ifndef NDEBUG |  718 #ifndef NDEBUG | 
|  714 // Outside the WebCore namespace for ease of invocation from gdb. |  719 // Outside the WebCore namespace for ease of invocation from gdb. | 
|  715 void showLayerTree(const blink::DeprecatedPaintLayer*); |  720 void showLayerTree(const blink::DeprecatedPaintLayer*); | 
|  716 void showLayerTree(const blink::LayoutObject*); |  721 void showLayerTree(const blink::LayoutObject*); | 
|  717 #endif |  722 #endif | 
|  718  |  723  | 
|  719 #endif // Layer_h |  724 #endif // Layer_h | 
| OLD | NEW |