| OLD | NEW |
| 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 PaintInvalidator_h | 5 #ifndef PaintInvalidator_h |
| 6 #define PaintInvalidator_h | 6 #define PaintInvalidator_h |
| 7 | 7 |
| 8 #include "platform/geometry/LayoutRect.h" | 8 #include "platform/geometry/LayoutRect.h" |
| 9 #include "platform/graphics/paint/GeometryMapper.h" | 9 #include "platform/graphics/paint/GeometryMapper.h" |
| 10 #include "wtf/Vector.h" | 10 #include "wtf/Vector.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 void processPendingDelayedPaintInvalidations(); | 97 void processPendingDelayedPaintInvalidations(); |
| 98 | 98 |
| 99 private: | 99 private: |
| 100 ALWAYS_INLINE LayoutRect | 100 ALWAYS_INLINE LayoutRect |
| 101 computeVisualRectInBacking(const LayoutObject&, | 101 computeVisualRectInBacking(const LayoutObject&, |
| 102 const PaintInvalidatorContext&); | 102 const PaintInvalidatorContext&); |
| 103 ALWAYS_INLINE LayoutPoint | 103 ALWAYS_INLINE LayoutPoint |
| 104 computeLocationInBacking(const LayoutObject&, const PaintInvalidatorContext&); | 104 computeLocationInBacking(const LayoutObject&, const PaintInvalidatorContext&); |
| 105 ALWAYS_INLINE void updatePaintingLayer(const LayoutObject&, | 105 ALWAYS_INLINE void updatePaintingLayer(const LayoutObject&, |
| 106 PaintInvalidatorContext&); | 106 PaintInvalidatorContext&); |
| 107 ALWAYS_INLINE void updateContext(const LayoutObject&, | 107 ALWAYS_INLINE void updatePaintInvalidationContainer(const LayoutObject&, |
| 108 PaintInvalidatorContext&); | 108 PaintInvalidatorContext&); |
| 109 ALWAYS_INLINE void updateVisualRect(const LayoutObject&, |
| 110 PaintInvalidatorContext&); |
| 109 | 111 |
| 110 Vector<const LayoutObject*> m_pendingDelayedPaintInvalidations; | 112 Vector<const LayoutObject*> m_pendingDelayedPaintInvalidations; |
| 111 GeometryMapper& m_geometryMapper; | 113 GeometryMapper& m_geometryMapper; |
| 112 }; | 114 }; |
| 113 | 115 |
| 114 } // namespace blink | 116 } // namespace blink |
| 115 | 117 |
| 116 #endif // PaintInvalidator_h | 118 #endif // PaintInvalidator_h |
| OLD | NEW |