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 482 matching lines...) Loading... |
493 | 493 |
494 bool scrollsWithViewport() const; | 494 bool scrollsWithViewport() const; |
495 bool scrollsWithRespectTo(const PaintLayer*) const; | 495 bool scrollsWithRespectTo(const PaintLayer*) const; |
496 | 496 |
497 void addLayerHitTestRects(LayerHitTestRects&) const; | 497 void addLayerHitTestRects(LayerHitTestRects&) const; |
498 | 498 |
499 // Compute rects only for this layer | 499 // Compute rects only for this layer |
500 void computeSelfHitTestRects(LayerHitTestRects&) const; | 500 void computeSelfHitTestRects(LayerHitTestRects&) const; |
501 | 501 |
502 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. | 502 // FIXME: This should probably return a ScrollableArea but a lot of internal
methods are mistakenly exposed. |
503 PaintLayerScrollableArea* scrollableArea() const { return m_scrollableArea.g
et(); } | 503 PaintLayerScrollableArea* getScrollableArea() const { return m_scrollableAre
a.get(); } |
504 | 504 |
505 PaintLayerClipper clipper() const { return PaintLayerClipper(*this); } | 505 PaintLayerClipper clipper() const { return PaintLayerClipper(*this); } |
506 | 506 |
507 bool scrollsOverflow() const; | 507 bool scrollsOverflow() const; |
508 | 508 |
509 CompositingReasons potentialCompositingReasonsFromStyle() const { return m_r
areData ? m_rareData->potentialCompositingReasonsFromStyle : CompositingReasonNo
ne; } | 509 CompositingReasons potentialCompositingReasonsFromStyle() const { return m_r
areData ? m_rareData->potentialCompositingReasonsFromStyle : CompositingReasonNo
ne; } |
510 void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons) | 510 void setPotentialCompositingReasonsFromStyle(CompositingReasons reasons) |
511 { | 511 { |
512 ASSERT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedRea
sons)); | 512 ASSERT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedRea
sons)); |
513 if (m_rareData || reasons != CompositingReasonNone) | 513 if (m_rareData || reasons != CompositingReasonNone) |
(...skipping 360 matching lines...) Loading... |
874 | 874 |
875 } // namespace blink | 875 } // namespace blink |
876 | 876 |
877 #ifndef NDEBUG | 877 #ifndef NDEBUG |
878 // Outside the WebCore namespace for ease of invocation from gdb. | 878 // Outside the WebCore namespace for ease of invocation from gdb. |
879 void showLayerTree(const blink::PaintLayer*); | 879 void showLayerTree(const blink::PaintLayer*); |
880 void showLayerTree(const blink::LayoutObject*); | 880 void showLayerTree(const blink::LayoutObject*); |
881 #endif | 881 #endif |
882 | 882 |
883 #endif // Layer_h | 883 #endif // Layer_h |
OLD | NEW |