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

Side by Side Diff: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h

Issue 2707073002: Move PreviousBoxGeometries from BoxPaintInvalidator into LayoutBox::m_rareData (Closed)
Patch Set: - Created 3 years, 10 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BoxPaintInvalidator_h 5 #ifndef BoxPaintInvalidator_h
6 #define BoxPaintInvalidator_h 6 #define BoxPaintInvalidator_h
7 7
8 #include "platform/graphics/PaintInvalidationReason.h" 8 #include "platform/graphics/PaintInvalidationReason.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 10
(...skipping 22 matching lines...) Expand all
33 const LayoutRect& oldLayoutOverflow, 33 const LayoutRect& oldLayoutOverflow,
34 const LayoutRect& newLayoutOverflow); 34 const LayoutRect& newLayoutOverflow);
35 void invalidateScrollingContentsBackgroundIfNeeded(); 35 void invalidateScrollingContentsBackgroundIfNeeded();
36 36
37 PaintInvalidationReason computePaintInvalidationReason(); 37 PaintInvalidationReason computePaintInvalidationReason();
38 38
39 bool incrementallyInvalidatePaint(PaintInvalidationReason, 39 bool incrementallyInvalidatePaint(PaintInvalidationReason,
40 const LayoutRect& oldRect, 40 const LayoutRect& oldRect,
41 const LayoutRect& newRect); 41 const LayoutRect& newRect);
42 42
43 bool needsToSavePreviousBoxGeometries(); 43 bool needsToSavePreviousContentBoxSizeOrLayoutOverflowRect();
44 void savePreviousBoxGeometriesIfNeeded(); 44 void savePreviousBoxGeometriesIfNeeded();
45 LayoutRect previousContentBoxRect();
46 LayoutRect previousLayoutOverflowRect();
47 45
48 const LayoutBox& m_box; 46 const LayoutBox& m_box;
49 const PaintInvalidatorContext& m_context; 47 const PaintInvalidatorContext& m_context;
50 }; 48 };
51 49
52 } // namespace blink 50 } // namespace blink
53 51
54 #endif 52 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.h ('k') | third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698