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 repaintRectIncludingNonCompositingDescendants() const; | 61 LayoutRect paintInvalidationRectIncludingNonCompositingDescendants() const; |
62 | 62 |
63 void paintInvalidationIncludingNonCompositingDescendants(); | 63 void paintInvalidationIncludingNonCompositingDescendants(); |
64 | 64 |
65 void computePaintInvalidationRectsIncludingNonCompositingDescendants(); | 65 void computePaintInvalidationRectsIncludingNonCompositingDescendants(); |
66 | 66 |
67 // Indicate that the layer contents need to be repainted. Only has an effect | 67 // Indicate that the layer contents need to be repainted. Only has an effect |
68 // if layer compositing is being used, | 68 // if layer compositing is being used, |
69 void setBackingNeedsRepaintInRect(const LayoutRect&); // r is in the coordin
ate space of the layer's render object | 69 void setBackingNeedsPaintInvalidationInRect(const LayoutRect&); // r is in t
he coordinate space of the layer's render object |
70 | 70 |
71 void setFilterBackendNeedsRepaintingInRect(const LayoutRect&); | 71 void setFilterBackendNeedsPaintInvalidationInRect(const LayoutRect&); |
72 | 72 |
73 private: | 73 private: |
74 void repaintIncludingNonCompositingDescendantsInternal(const RenderLayerMode
lObject* repaintContainer); | 74 void paintInvalidationIncludingNonCompositingDescendantsInternal(const Rende
rLayerModelObject* repaintContainer); |
75 | 75 |
76 RenderLayer* enclosingFilterRepaintLayer() const; | 76 RenderLayer* enclosingFilterPaintInvalidationLayer() const; |
77 | 77 |
78 RenderLayerModelObject& m_renderer; | 78 RenderLayerModelObject& m_renderer; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace blink | 81 } // namespace blink |
82 | 82 |
83 #endif // RenderLayerRepainter_h | 83 #endif // RenderLayerRepainter_h |
OLD | NEW |