| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "wtf/Noncopyable.h" | 49 #include "wtf/Noncopyable.h" |
| 50 | 50 |
| 51 namespace WebCore { | 51 namespace WebCore { |
| 52 | 52 |
| 53 enum RepaintStatus { | 53 enum RepaintStatus { |
| 54 NeedsNormalRepaint = 0, | 54 NeedsNormalRepaint = 0, |
| 55 NeedsFullRepaint = 1 << 0, | 55 NeedsFullRepaint = 1 << 0, |
| 56 NeedsFullRepaintForPositionedMovementLayout = NeedsFullRepaint | 1 << 1 | 56 NeedsFullRepaintForPositionedMovementLayout = NeedsFullRepaint | 1 << 1 |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 class RenderGeometryMap; | |
| 60 class RenderLayer; | 59 class RenderLayer; |
| 61 class RenderLayerModelObject; | 60 class RenderLayerModelObject; |
| 62 | 61 |
| 63 class RenderLayerRepainter { | 62 class RenderLayerRepainter { |
| 64 WTF_MAKE_NONCOPYABLE(RenderLayerRepainter); | 63 WTF_MAKE_NONCOPYABLE(RenderLayerRepainter); |
| 65 public: | 64 public: |
| 66 RenderLayerRepainter(RenderLayerModelObject&); | 65 RenderLayerRepainter(RenderLayerModelObject&); |
| 67 | 66 |
| 68 // Return a cached repaint rect, computed relative to the layer renderer's c
ontainerForPaintInvalidation. | 67 // Return a cached repaint rect, computed relative to the layer renderer's c
ontainerForPaintInvalidation. |
| 69 LayoutRect repaintRect() const { return m_repaintRect; } | 68 LayoutRect repaintRect() const { return m_repaintRect; } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 96 | 95 |
| 97 unsigned m_repaintStatus; // RepaintStatus | 96 unsigned m_repaintStatus; // RepaintStatus |
| 98 | 97 |
| 99 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout. | 98 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout. |
| 100 LayoutPoint m_offset; | 99 LayoutPoint m_offset; |
| 101 }; | 100 }; |
| 102 | 101 |
| 103 } // namespace WebCore | 102 } // namespace WebCore |
| 104 | 103 |
| 105 #endif // RenderLayerRepainter_h | 104 #endif // RenderLayerRepainter_h |
| OLD | NEW |