| 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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 | 625 |
| 626 // Compute rects only for this layer | 626 // Compute rects only for this layer |
| 627 void computeSelfHitTestRects(LayerHitTestRects&) const; | 627 void computeSelfHitTestRects(LayerHitTestRects&) const; |
| 628 | 628 |
| 629 // FIXME: This should probably return a ScrollableArea but a lot of internal | 629 // FIXME: This should probably return a ScrollableArea but a lot of internal |
| 630 // methods are mistakenly exposed. | 630 // methods are mistakenly exposed. |
| 631 PaintLayerScrollableArea* getScrollableArea() const { | 631 PaintLayerScrollableArea* getScrollableArea() const { |
| 632 return m_scrollableArea.get(); | 632 return m_scrollableArea.get(); |
| 633 } | 633 } |
| 634 | 634 |
| 635 PaintLayerClipper clipper() const { | 635 PaintLayerClipper clipper() const; |
| 636 return PaintLayerClipper(*this, | |
| 637 RuntimeEnabledFeatures::slimmingPaintV2Enabled()); | |
| 638 } | |
| 639 | 636 |
| 640 bool scrollsOverflow() const; | 637 bool scrollsOverflow() const; |
| 641 | 638 |
| 642 CompositingReasons potentialCompositingReasonsFromStyle() const { | 639 CompositingReasons potentialCompositingReasonsFromStyle() const { |
| 643 return m_rareData ? m_rareData->potentialCompositingReasonsFromStyle | 640 return m_rareData ? m_rareData->potentialCompositingReasonsFromStyle |
| 644 : CompositingReasonNone; | 641 : CompositingReasonNone; |
| 645 } | 642 } |
| 646 void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons) { | 643 void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons) { |
| 647 DCHECK(reasons == | 644 DCHECK(reasons == |
| 648 (reasons & CompositingReasonComboAllStyleDeterminedReasons)); | 645 (reasons & CompositingReasonComboAllStyleDeterminedReasons)); |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 | 1242 |
| 1246 } // namespace blink | 1243 } // namespace blink |
| 1247 | 1244 |
| 1248 #ifndef NDEBUG | 1245 #ifndef NDEBUG |
| 1249 // Outside the WebCore namespace for ease of invocation from gdb. | 1246 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1250 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1247 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
| 1251 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1248 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
| 1252 #endif | 1249 #endif |
| 1253 | 1250 |
| 1254 #endif // Layer_h | 1251 #endif // Layer_h |
| OLD | NEW |