| 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 RootOfTransparencyClipBox | 544 RootOfTransparencyClipBox |
| 545 }; | 545 }; |
| 546 | 546 |
| 547 static LayoutRect transparencyClipBox(const DeprecatedPaintLayer*, const Dep
recatedPaintLayer* rootLayer, TransparencyClipBoxBehavior transparencyBehavior, | 547 static LayoutRect transparencyClipBox(const DeprecatedPaintLayer*, const Dep
recatedPaintLayer* rootLayer, TransparencyClipBoxBehavior transparencyBehavior, |
| 548 TransparencyClipBoxMode transparencyMode, GlobalPaintFlags = GlobalPaint
NormalPhase); | 548 TransparencyClipBoxMode transparencyMode, GlobalPaintFlags = GlobalPaint
NormalPhase); |
| 549 | 549 |
| 550 bool needsRepaint() const { return m_needsRepaint; } | 550 bool needsRepaint() const { return m_needsRepaint; } |
| 551 void setNeedsRepaint(); | 551 void setNeedsRepaint(); |
| 552 void clearNeedsRepaint() { m_needsRepaint = false; } | 552 void clearNeedsRepaint() { m_needsRepaint = false; } |
| 553 | 553 |
| 554 // For subsequence display items. |
| 555 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } |
| 556 |
| 554 private: | 557 private: |
| 555 // Bounding box in the coordinates of this layer. | 558 // Bounding box in the coordinates of this layer. |
| 556 LayoutRect logicalBoundingBox() const; | 559 LayoutRect logicalBoundingBox() const; |
| 557 | 560 |
| 558 bool hasOverflowControls() const; | 561 bool hasOverflowControls() const; |
| 559 | 562 |
| 560 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 563 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
| 561 | 564 |
| 562 // Returns true if the position changed. | 565 // Returns true if the position changed. |
| 563 bool updateLayerPosition(); | 566 bool updateLayerPosition(); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 | 740 |
| 738 } // namespace blink | 741 } // namespace blink |
| 739 | 742 |
| 740 #ifndef NDEBUG | 743 #ifndef NDEBUG |
| 741 // Outside the WebCore namespace for ease of invocation from gdb. | 744 // Outside the WebCore namespace for ease of invocation from gdb. |
| 742 void showLayerTree(const blink::DeprecatedPaintLayer*); | 745 void showLayerTree(const blink::DeprecatedPaintLayer*); |
| 743 void showLayerTree(const blink::LayoutObject*); | 746 void showLayerTree(const blink::LayoutObject*); |
| 744 #endif | 747 #endif |
| 745 | 748 |
| 746 #endif // Layer_h | 749 #endif // Layer_h |
| OLD | NEW |