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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 | 429 |
430 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const; | 430 PassOwnPtr<Vector<FloatRect> > collectTrackedRepaintRects() const; |
431 | 431 |
432 RenderLayerBlendInfo& blendInfo() { return m_blendInfo; } | 432 RenderLayerBlendInfo& blendInfo() { return m_blendInfo; } |
433 | 433 |
434 void setOffsetFromSquashingLayerOrigin(IntSize offset) { m_offsetFromSquashi
ngLayerOrigin = offset; } | 434 void setOffsetFromSquashingLayerOrigin(IntSize offset) { m_offsetFromSquashi
ngLayerOrigin = offset; } |
435 IntSize offsetFromSquashingLayerOrigin() const { ASSERT(isAllowedToQueryComp
ositingState()); return m_offsetFromSquashingLayerOrigin; } | 435 IntSize offsetFromSquashingLayerOrigin() const { ASSERT(isAllowedToQueryComp
ositingState()); return m_offsetFromSquashingLayerOrigin; } |
436 | 436 |
437 bool scrollsOverflow() const; | 437 bool scrollsOverflow() const; |
438 | 438 |
439 bool hasDirectReasonsForCompositing() const { return compositingReasons() &
CompositingReasonComboAllDirectReasons; } | |
440 | |
441 CompositingReasons styleDeterminedCompositingReasons() const { return m_styl
eDeterminedCompositingReasons; } | 439 CompositingReasons styleDeterminedCompositingReasons() const { return m_styl
eDeterminedCompositingReasons; } |
442 void setStyleDeterminedCompositingReasons(CompositingReasons reasons) { ASSE
RT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedReasons)); m_st
yleDeterminedCompositingReasons = reasons; } | 440 void setStyleDeterminedCompositingReasons(CompositingReasons reasons) { ASSE
RT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedReasons)); m_st
yleDeterminedCompositingReasons = reasons; } |
443 | 441 |
444 class AncestorDependentProperties { | 442 class AncestorDependentProperties { |
445 public: | 443 public: |
446 AncestorDependentProperties() | 444 AncestorDependentProperties() |
447 : opacityAncestor(0) | 445 : opacityAncestor(0) |
448 , transformAncestor(0) | 446 , transformAncestor(0) |
449 , filterAncestor(0) | 447 , filterAncestor(0) |
450 , isUnclippedDescendant(false) | 448 , isUnclippedDescendant(false) |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 | 723 |
726 } // namespace WebCore | 724 } // namespace WebCore |
727 | 725 |
728 #ifndef NDEBUG | 726 #ifndef NDEBUG |
729 // Outside the WebCore namespace for ease of invocation from gdb. | 727 // Outside the WebCore namespace for ease of invocation from gdb. |
730 void showLayerTree(const WebCore::RenderLayer*); | 728 void showLayerTree(const WebCore::RenderLayer*); |
731 void showLayerTree(const WebCore::RenderObject*); | 729 void showLayerTree(const WebCore::RenderObject*); |
732 #endif | 730 #endif |
733 | 731 |
734 #endif // RenderLayer_h | 732 #endif // RenderLayer_h |
OLD | NEW |