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

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

Issue 544203004: Revert "Revert "Move some scroll invalidations to the paint invalidation phase"" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 private: 69 private:
72 void paintInvalidationIncludingNonCompositingDescendantsInternal(const Rende rLayerModelObject* repaintContainer); 70 void paintInvalidationIncludingNonCompositingDescendantsInternal(const Rende rLayerModelObject* repaintContainer);
73 71
74 RenderLayerModelObject& m_renderer; 72 RenderLayerModelObject& m_renderer;
75 }; 73 };
76 74
77 } // namespace blink 75 } // namespace blink
78 76
79 #endif // RenderLayerRepainter_h 77 #endif // RenderLayerRepainter_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderLayerRepainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698