OLD | NEW |
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 "platform/wtf/Allocator.h" |
14 #include "wtf/Noncopyable.h" | 14 #include "platform/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 LayoutView; | 20 class LayoutView; |
21 class PaintLayer; | 21 class PaintLayer; |
22 | 22 |
23 // PaintInvalidationState is an optimization used during the paint | 23 // PaintInvalidationState is an optimization used during the paint |
24 // invalidation phase. | 24 // invalidation phase. |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 void MapLocalRectToVisualRectInBacking(const LayoutObject&, | 193 void MapLocalRectToVisualRectInBacking(const LayoutObject&, |
194 LayoutRect&) const override; | 194 LayoutRect&) const override; |
195 | 195 |
196 private: | 196 private: |
197 const PaintInvalidationState& paint_invalidation_state_; | 197 const PaintInvalidationState& paint_invalidation_state_; |
198 }; | 198 }; |
199 | 199 |
200 } // namespace blink | 200 } // namespace blink |
201 | 201 |
202 #endif // PaintInvalidationState_h | 202 #endif // PaintInvalidationState_h |
OLD | NEW |