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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 namespace blink { | 51 namespace blink { |
52 | 52 |
53 class RenderLayer; | 53 class RenderLayer; |
54 class RenderLayerModelObject; | 54 class RenderLayerModelObject; |
55 | 55 |
56 class RenderLayerRepainter { | 56 class RenderLayerRepainter { |
57 WTF_MAKE_NONCOPYABLE(RenderLayerRepainter); | 57 WTF_MAKE_NONCOPYABLE(RenderLayerRepainter); |
58 public: | 58 public: |
59 RenderLayerRepainter(RenderLayerModelObject&); | 59 RenderLayerRepainter(RenderLayerModelObject&); |
60 | 60 |
61 LayoutRect paintInvalidationRectIncludingNonCompositingDescendants() const; | |
62 | |
63 void paintInvalidationIncludingNonCompositingDescendants(); | 61 void paintInvalidationIncludingNonCompositingDescendants(); |
64 | 62 |
65 void computePaintInvalidationRectsIncludingNonCompositingDescendants(); | 63 void computePaintInvalidationRectsIncludingNonCompositingDescendants(); |
66 | 64 |
67 // Indicate that the layer contents need to be repainted. Only has an effect | 65 // Indicate that the layer contents need to be repainted. Only has an effect |
68 // if layer compositing is being used, | 66 // if layer compositing is being used, |
69 void setBackingNeedsPaintInvalidationInRect(const LayoutRect&); // r is in t
he coordinate space of the layer's render object | 67 void setBackingNeedsPaintInvalidationInRect(const LayoutRect&); // r is in t
he coordinate space of the layer's render object |
70 | 68 |
71 void setFilterBackendNeedsPaintInvalidationInRect(const LayoutRect&); | 69 void setFilterBackendNeedsPaintInvalidationInRect(const LayoutRect&); |
72 | 70 |
73 private: | 71 private: |
74 void paintInvalidationIncludingNonCompositingDescendantsInternal(const Rende
rLayerModelObject* repaintContainer); | 72 void paintInvalidationIncludingNonCompositingDescendantsInternal(const Rende
rLayerModelObject* repaintContainer); |
75 | 73 |
76 RenderLayer* enclosingFilterPaintInvalidationLayer() const; | 74 RenderLayer* enclosingFilterPaintInvalidationLayer() const; |
77 | 75 |
78 RenderLayerModelObject& m_renderer; | 76 RenderLayerModelObject& m_renderer; |
79 }; | 77 }; |
80 | 78 |
81 } // namespace blink | 79 } // namespace blink |
82 | 80 |
83 #endif // RenderLayerRepainter_h | 81 #endif // RenderLayerRepainter_h |
OLD | NEW |