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

Side by Side Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 PaintInvalidationState_h 5 #ifndef PaintInvalidationState_h
6 #define PaintInvalidationState_h 6 #define PaintInvalidationState_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/paint/PaintInvalidator.h" 9 #include "core/paint/PaintInvalidator.h"
10 #include "platform/geometry/LayoutRect.h" 10 #include "platform/geometry/LayoutRect.h"
11 #include "platform/graphics/PaintInvalidationReason.h" 11 #include "platform/graphics/PaintInvalidationReason.h"
12 #include "platform/transforms/AffineTransform.h" 12 #include "platform/transforms/AffineTransform.h"
13 #include "wtf/Allocator.h" 13 #include "wtf/Allocator.h"
14 #include "wtf/Noncopyable.h" 14 #include "wtf/Noncopyable.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class LayoutBoxModelObject; 18 class LayoutBoxModelObject;
19 class LayoutObject; 19 class LayoutObject;
20 class LayoutSVGModelObject;
21 class LayoutView; 20 class LayoutView;
22 class PaintLayer; 21 class PaintLayer;
23 22
24 enum VisualRectFlags { DefaultVisualRectFlags = 0, EdgeInclusive = 1 }; 23 enum VisualRectFlags { DefaultVisualRectFlags = 0, EdgeInclusive = 1 };
25 24
26 // PaintInvalidationState is an optimization used during the paint 25 // PaintInvalidationState is an optimization used during the paint
27 // invalidation phase. 26 // invalidation phase.
28 // 27 //
29 // This class is extremely close to LayoutState so see the documentation 28 // This class is extremely close to LayoutState so see the documentation
30 // of LayoutState for the class existence and performance benefits. 29 // of LayoutState for the class existence and performance benefits.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void mapLocalRectToPaintInvalidationBacking(const LayoutObject&, 191 void mapLocalRectToPaintInvalidationBacking(const LayoutObject&,
193 LayoutRect&) const override; 192 LayoutRect&) const override;
194 193
195 private: 194 private:
196 const PaintInvalidationState& m_paintInvalidationState; 195 const PaintInvalidationState& m_paintInvalidationState;
197 }; 196 };
198 197
199 } // namespace blink 198 } // namespace blink
200 199
201 #endif // PaintInvalidationState_h 200 #endif // PaintInvalidationState_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutScrollbar.h ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698