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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 | 617 |
618 LayoutRect previousPaintDirtyRect() const { return m_previousPaintDirtyRect;
} | 618 LayoutRect previousPaintDirtyRect() const { return m_previousPaintDirtyRect;
} |
619 void setPreviousPaintDirtyRect(const LayoutRect& rect) { m_previousPaintDirt
yRect = rect; } | 619 void setPreviousPaintDirtyRect(const LayoutRect& rect) { m_previousPaintDirt
yRect = rect; } |
620 | 620 |
621 PaintLayerPainter::PaintResult previousPaintResult() const { return static_c
ast<PaintLayerPainter::PaintResult>(m_previousPaintResult); } | 621 PaintLayerPainter::PaintResult previousPaintResult() const { return static_c
ast<PaintLayerPainter::PaintResult>(m_previousPaintResult); } |
622 void setPreviousPaintResult(PaintLayerPainter::PaintResult result) { m_previ
ousPaintResult = static_cast<unsigned>(result); ASSERT(m_previousPaintResult ==
static_cast<unsigned>(result)); } | 622 void setPreviousPaintResult(PaintLayerPainter::PaintResult result) { m_previ
ousPaintResult = static_cast<unsigned>(result); ASSERT(m_previousPaintResult ==
static_cast<unsigned>(result)); } |
623 | 623 |
624 PaintTiming* paintTiming(); | 624 PaintTiming* paintTiming(); |
625 | 625 |
626 private: | 626 private: |
| 627 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION |
| 628 |
627 // Bounding box in the coordinates of this layer. | 629 // Bounding box in the coordinates of this layer. |
628 LayoutRect logicalBoundingBox() const; | 630 LayoutRect logicalBoundingBox() const; |
629 | 631 |
630 bool hasOverflowControls() const; | 632 bool hasOverflowControls() const; |
631 | 633 |
632 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 634 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
633 | 635 |
634 // Returns true if the position changed. | 636 // Returns true if the position changed. |
635 bool updateLayerPosition(); | 637 bool updateLayerPosition(); |
636 | 638 |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 | 821 |
820 } // namespace blink | 822 } // namespace blink |
821 | 823 |
822 #ifndef NDEBUG | 824 #ifndef NDEBUG |
823 // Outside the WebCore namespace for ease of invocation from gdb. | 825 // Outside the WebCore namespace for ease of invocation from gdb. |
824 void showLayerTree(const blink::PaintLayer*); | 826 void showLayerTree(const blink::PaintLayer*); |
825 void showLayerTree(const blink::LayoutObject*); | 827 void showLayerTree(const blink::LayoutObject*); |
826 #endif | 828 #endif |
827 | 829 |
828 #endif // Layer_h | 830 #endif // Layer_h |
OLD | NEW |