Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: Source/core/rendering/RenderLayerRepainter.h

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 class RenderGeometryMap; 59 class RenderGeometryMap;
60 class RenderLayer; 60 class RenderLayer;
61 class RenderLayerModelObject; 61 class RenderLayerModelObject;
62 62
63 class RenderLayerRepainter { 63 class RenderLayerRepainter {
64 WTF_MAKE_NONCOPYABLE(RenderLayerRepainter); 64 WTF_MAKE_NONCOPYABLE(RenderLayerRepainter);
65 public: 65 public:
66 RenderLayerRepainter(RenderLayerModelObject&); 66 RenderLayerRepainter(RenderLayerModelObject&);
67 67
68 // Return a cached repaint rect, computed relative to the layer renderer's c ontainerForRepaint. 68 // Return a cached repaint rect, computed relative to the layer renderer's c ontainerForPaintInvalidation.
69 LayoutRect repaintRect() const { return m_repaintRect; } 69 LayoutRect repaintRect() const { return m_repaintRect; }
70 LayoutRect repaintRectIncludingNonCompositingDescendants() const; 70 LayoutRect repaintRectIncludingNonCompositingDescendants() const;
71 71
72 void repaintAfterLayout(bool shouldCheckForRepaint); 72 void repaintAfterLayout(bool shouldCheckForRepaint);
73 void repaintIncludingNonCompositingDescendants(); 73 void repaintIncludingNonCompositingDescendants();
74 74
75 void setRepaintStatus(RepaintStatus status) { m_repaintStatus = status; } 75 void setRepaintStatus(RepaintStatus status) { m_repaintStatus = status; }
76 76
77 void computeRepaintRects(); 77 void computeRepaintRects();
78 void computeRepaintRectsIncludingNonCompositingDescendants(); 78 void computeRepaintRectsIncludingNonCompositingDescendants();
(...skipping 18 matching lines...) Expand all
97 97
98 unsigned m_repaintStatus; // RepaintStatus 98 unsigned m_repaintStatus; // RepaintStatus
99 99
100 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout. 100 LayoutRect m_repaintRect; // Cached repaint rects. Used by layout.
101 LayoutPoint m_offset; 101 LayoutPoint m_offset;
102 }; 102 };
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif // RenderLayerRepainter_h 106 #endif // RenderLayerRepainter_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerModelObject.cpp ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698